Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-09 | Fixed spec tests. | John MacFarlane | |
2014-11-09 | Fixed 2 typos in spec tests. | John MacFarlane | |
2014-11-09 | Fixed bug. | John MacFarlane | |
Need to remove open delimiters from the stack when they don't match for a link. | |||
2014-11-09 | README: more than 500 tests. | John MacFarlane | |
changes. Lines starting | |||
2014-11-09 | Updated spec for links. | John MacFarlane | |
Still a work in progress. | |||
2014-11-09 | Merge branch 'master' of github.com:jgm/CommonMark | John MacFarlane | |
2014-11-09 | Restored priority of links over emphasis grouping. | John MacFarlane | |
Now when we encounter (possibly) closing `*` or `_` delimiters, we simply add them to the delimiters stack. This gets processed by `process_emphasis` either (a) when a link is created (in which case only the inlines created by the link are processed) or at the end of processing a run of inlines. | |||
2014-11-09 | runtests.pl: distinguish error status from failures. | John MacFarlane | |
2014-11-09 | Added MAX_LINK_LABEL_LENGTH to cmark.h. | John MacFarlane | |
Use in link label parsing and reference lookup. | |||
2014-11-09 | Removed some unused code. | John MacFarlane | |
2014-11-09 | Disallow links inside links and images inside images. | John MacFarlane | |
2014-11-09 | Fixed backslash-escape inside link label. | John MacFarlane | |
Down to 8 failures, all cases where the spec will need to be changed to reflect lack of priority of links over emphasis. | |||
2014-11-09 | Fixed problem with images. | John MacFarlane | |
2014-11-09 | Fixed allocation issue. | John MacFarlane | |
2014-11-09 | Got ref links working, but with deallocation issues. | John MacFarlane | |
2014-11-09 | Got inline links working. | John MacFarlane | |
2014-11-09 | Initial steps towards link parsing. | John MacFarlane | |
2014-11-09 | Simplified link_label parser. | John MacFarlane | |
It now just scans for an unescaped `]`. No `[` characters are permitted in labels. Backticks don't have their usual meaning in labels. This accords with the behavior of some of the main Markdown parsers: marked, sundown, discount, kramdown, showdown, Markdown.pl, PHP Markdown. | |||
2014-11-08 | template.html changes needed to make visible spaces work. | John MacFarlane | |
2014-11-08 | Make spaces visible using CSS. | John MacFarlane | |
Closes #49. I didn't want to actually insert the characters, since I want the code samples to be cut/pasteable. But this CSS trick seems to work. | |||
2014-11-08 | Spec: 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-08 | Improved fuzztest. | John MacFarlane | |
2014-11-08 | Improved fuzztest. | John MacFarlane | |
2014-11-07 | Removed unused emphasis_nestlevel. | John MacFarlane | |
2014-11-07 | Factored out push_delimiter. | John MacFarlane | |
Conflicts: src/inlines.c | |||
2014-11-07 | Removed config.h.cmake (not used). | John MacFarlane | |
2014-11-07 | Replace parse_inlines_while with parse_inlines_from_subject. | John MacFarlane | |
2014-11-07 | Removed release_it scripts. | John MacFarlane | |
2014-11-07 | Revised README with cmake instructions. | John MacFarlane | |
2014-11-07 | Moved site building targets to _site/Makefile. | John MacFarlane | |
2014-11-07 | Moved old bits of Makefile to Makefile.old. | John MacFarlane | |
2014-11-07 | Shared library is again libcmark. | John MacFarlane | |
2014-11-07 | More cmake cleanup. | John MacFarlane | |
2014-11-07 | Fixed compiler warnings in cmake. | John MacFarlane | |
2014-11-07 | Moved include file check to src/CMakeLists.txt. | John MacFarlane | |
2014-11-07 | Removed man/Makefile. Put target in main Makefile. | John MacFarlane | |
2014-11-07 | Removed old man/CMakeLists.txt. | John MacFarlane | |
2014-11-07 | Added cmake_minimum_version to src/CMakeLists.txt. | John MacFarlane | |
2014-11-07 | Reformatted src/CMakeLists.txt. | John MacFarlane | |
2014-11-06 | Merge branch 'cmake' | John MacFarlane | |
Conflicts: Makefile | |||
2014-11-06 | More cmake improvements. | John MacFarlane | |
2014-11-06 | Removed unnecessary C99-ism. | John MacFarlane | |
2014-11-06 | Removed unnecessary C99-ism. | John MacFarlane | |
2014-11-06 | Reorganized Makefile to use cmake. | John MacFarlane | |
2014-11-06 | Makefile: use cmake for all, install. | John MacFarlane | |
2014-11-06 | cmake: Give fatal error on in-source build. | John MacFarlane | |
2014-11-06 | cmake: Create and install shared library. | John MacFarlane | |
2014-11-06 | Removed unnecessary dependency in Makefile. | John MacFarlane | |
2014-11-06 | Keep original Makefile. | John MacFarlane | |
2014-11-06 | Quick 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*]`. |