Skip to content

test_doc

John Mesmon edited this page Nov 9, 2010 · 6 revisions

test document

Exposes bugs in github’s wiki software

Code Filter Bugs

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.

C code filter

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;
}

Make code filter

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)
Clone this wiki locally