Fossil-FossMD

Fossil-FossMD
Login

Fossil-FossMD

This is a patched version of Fossil with enhanced Markdown features.

See README.fossmd.md for all gory details, thoughts and plans for this project.

Features

Feature: ToC

Generate ToC automatically (or manually) on each Markdown (and Wiki) page.
See README.fossil-fossmd.toc.md for ToC details.
See README.fossil-fossmd.toc.longlong.md for the long long ToC story (useless for most readers).

Feature: Fenced Code Block (FCB)

Support for the non-standard (but widely supported) multiline code block, a.k.a. Fenced Code Block (FCB), starting with ``` (or ~~~).
See README.fossil-fossmd.fcb.md for FCB details.

Feature: Fenced code block with Info String (for syntax highlighting etc.)

Feature: Transclusion

Feature: Transclusion of Markdown files and/or Fossil artifacts

Feature: Combine Fenced code block with Info String and Transclusion (to syntax highlight an included file or artifact)

Feature: Combine Fenced code block with custom Info String and Transclusion (to include any kind of file, to render any kind of content)

Feature: Split/single page (usually in Abstract section, just before ToC)

NOTES (about this software in particular, but not in any particular order)

Makefile

TODO: make cmpversion doesn't work on FreeBSD.

Some CSS and JavaScript, which should be rendered for .md but not for .wiki:

This is red

Click on me

Valgrind

valgrind -v --track-origins=yes --leak-check=yes ffmd test-markdown-render toc-test.md

valgrind -v --track-origins=yes --leak-check=full fossil test-markdown-render minimal.md

Valgrind: Existing Fossil web page

valgrind -v --track-origins=yes --leak-check=yes ffmd test-markdown-render www/webpage-ex.md