-
Notifications
You must be signed in to change notification settings - Fork 8
test_doc
John Mesmon edited this page Nov 9, 2010
·
6 revisions
Exposes bugs in github’s wiki software
The code filter fails to work with asciidoc syntax, have to use github syntax. For C this causes highlighting to be colorless, with only bolded keywords. For make the entire block is snipped out.
Github way
int main(int argc, char **argv)
{
printf("hellooo %d\n", 33);
return -1;
}
asciidoc way
int main(int argc, char **argv) { printf("hellooo %d\n", 33); return -1; }
Again, github
CC=gcc
RM=rm -f
SRC=main.c
TARGET=test
$(TARGET): $(SRC)
@echo "CC $@"
@$(CC) $(CFLAGS) -o $@ $<
.PHONY: clean
clean:
$(RM) $(TARGET)
asciidoc
CC=gcc RM=rm -f SRC=main.c TARGET=test $(TARGET): $(SRC) @echo "CC $@" @$(CC) $(CFLAGS) -o $@ $< .PHONY: clean clean: $(RM) $(TARGET)