aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-08Spec: better system for designating definitions of terms.John MacFarlane
`[foo](@foo)` turns into an anchor with id `foo` that links to itself and has class `definition`. This allows us to remove the manual `<a>` tags in `spec.txt`. A simple regex substitution in the Makefile handles the transformation. I believe this addresses some of the concerns in #141 by giving the definitions a prominent appearance. Note that we want definitions to link to themselves, to allow users to quickly generate a link to the relevant bit of the spec.
2014-11-08Improved fuzztest.John MacFarlane
2014-11-07Removed unused emphasis_nestlevel.John MacFarlane
2014-11-07Factored out push_delimiter.John MacFarlane
Conflicts: src/inlines.c
2014-11-07Removed config.h.cmake (not used).John MacFarlane
2014-11-07Replace parse_inlines_while with parse_inlines_from_subject.John MacFarlane
2014-11-07Removed release_it scripts.John MacFarlane
2014-11-07Revised README with cmake instructions.John MacFarlane
2014-11-07Moved site building targets to _site/Makefile.John MacFarlane
2014-11-07Moved old bits of Makefile to Makefile.old.John MacFarlane
2014-11-07Shared library is again libcmark.John MacFarlane
2014-11-07More cmake cleanup.John MacFarlane
2014-11-07Fixed compiler warnings in cmake.John MacFarlane
2014-11-07Moved include file check to src/CMakeLists.txt.John MacFarlane
2014-11-07Removed man/Makefile. Put target in main Makefile.John MacFarlane
2014-11-07Removed old man/CMakeLists.txt.John MacFarlane
2014-11-07Added cmake_minimum_version to src/CMakeLists.txt.John MacFarlane
2014-11-07Reformatted src/CMakeLists.txt.John MacFarlane
2014-11-06Merge branch 'cmake'John MacFarlane
Conflicts: Makefile
2014-11-06More cmake improvements.John MacFarlane
2014-11-06Removed unnecessary C99-ism.John MacFarlane
2014-11-06Removed unnecessary C99-ism.John MacFarlane
2014-11-06Reorganized Makefile to use cmake.John MacFarlane
2014-11-06Makefile: use cmake for all, install.John MacFarlane
2014-11-06cmake: Give fatal error on in-source build.John MacFarlane
2014-11-06cmake: Create and install shared library.John MacFarlane
2014-11-06Removed unnecessary dependency in Makefile.John MacFarlane
2014-11-06Keep original Makefile.John MacFarlane
2014-11-06Quick fix to #168.John MacFarlane
Ultimately we'll have a better (stack-based?) parser for links, and we can have something more elegant. This fix removes an optimization which gave wrong results for `*hi [there*]`.
2014-11-06Use non-recursive algorithm for process_inlines.John MacFarlane
Closes #187.
2014-11-06Made blocks_to_html non-recursive (using a stack).John MacFarlane
This will help avoid stack overflows with deeply nested structures. See #187.
2014-11-06buffer: added strbuf_rtrim function.John MacFarlane
2014-11-06Reformatted code consistently.John MacFarlane
2014-11-06Bump version on spec to 0.10.John MacFarlane
2014-11-06Updated js writer to render plain text for alt attributes of images.John MacFarlane
2014-11-06HTML renderer: render alt text as plain, unformatted string.John MacFarlane
2014-11-06Spec: use plain string content of label for alt text in images.John MacFarlane
So, `foo bar` rather than `foo *bar*` or `foo <em>bar</em>` or `foo &lt;em&gt;bar&lt;/em&gt;`.
2014-11-06Use render stack for inline links.John MacFarlane
2014-11-05Use regular strings for literal in render_stack.John MacFarlane
2014-11-05Use stack approach for rendering strong, emph.John MacFarlane
2014-11-05Added basic infrastructure for render_stack.John MacFarlane
2014-11-05Give warning on unknown inline type.John MacFarlane
2014-11-05Improved free_inlines.John MacFarlane
2014-11-05Made block-freeing slightly more efficient by using last_child.John MacFarlane
2014-11-05Made cmark_free_nodes non-recursive.John MacFarlane
See #187.
2014-11-05Removed stack limits in inline parsing.John MacFarlane
This brings back segfaults, but we're now aiming for a better solution, revising the renderer so it doesn't use recursion, and using a stack approach for nested brackets. Removing these limits will allow us to know when we've got it right. See #166, #187.
2014-11-05free_inlines: use non-recursive algorithm.John MacFarlane
This will help avoid stack overflows in deeply nested structures. Partially addresses #187 (still need to do renderers).
2014-11-05Removed recursive call to handle_strong_emph.John MacFarlane
Closes #186 - in a somewhat different way than in the PR. This is simpler and I don't see any significant impact on performance in my tests.
2014-11-04Improved fuzztest target.John MacFarlane
2014-11-04Fixed typo.John MacFarlane