Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-12-21 | Commonmark renderer: always use fences for code (#317). | John MacFarlane | |
This solves problems with adjacent code blocks being merged. | |||
2019-12-21 | Ensure that consecutive indented code blocks aren't merged... | John MacFarlane | |
by inserting an HTML comment. Closes #317. I think I'll follow up with a change to use fenced code blocks, but this was the minimal fix. | |||
2019-12-19 | Improve rendering of commonmark code spans with spaces. | John MacFarlane | |
Closes #316. | |||
2019-11-27 | normalize.py: use html.escape instead of cgi.escape. | John MacFarlane | |
Closes #313. | |||
2019-11-11 | Cleaner approach to max digits for numeric entities. | John MacFarlane | |
This modifies unescaping in houdini_html_u.c rather than the entity handling in inlines.c. Unlike the other, this approach works also in e.g. link titles. | |||
2019-11-11 | Fix entity parser (and api test) to respect length limit on numeric entities. | John MacFarlane | |
2019-11-11 | Code reformat | John MacFarlane | |
2019-11-11 | Don't allow link destinations with unbalanced unescaped parentheses. | John MacFarlane | |
See commonmark/commonmark.js#177. | |||
2019-11-11 | Updaet spec.txt. | John MacFarlane | |
2019-10-14 | Create FUNDING.yml | John MacFarlane | |
2019-07-05 | print_usage(): Minor grammar fix, swap two words (#305) | Øyvind A. Holm | |
2019-06-01 | Clarify which backtick strings (#301) | Johel Ernesto Guerrero Peña | |
A code span can have more than its two surrounding ones, like ` `` `. | |||
2019-05-29 | Remove "-rdynamic" flag for static builds (#300) | Eric Pruitt | |
cmake adds `-rdynamic` on linux, even for static builds. This commit removes it for linux builds by resetting `CMAKE_SHARED_LIBRARY_LINK_C_FLAGS`. | |||
2019-04-23 | Merge pull request #294 from JerwuQu/cmark-issue-291-jerwuqu | John MacFarlane | |
Add built cmark.exe as an AppVeyor artifact | |||
2019-04-23 | Merge pull request #295 from nwellnhof/link-exe-with-lib | John MacFarlane | |
Link executable with static or shared library | |||
2019-04-23 | Link executable with static or shared library | Nick Wellnhofer | |
If CMARK_STATIC is on (default), link the executable with the static library. This produces exactly the same result as compiling the library sources again and linking with the object files. If CMARK_STATIC is off, link the executable with the shared library. This wasn't supported before and should be the preferred way to package cmark on Linux distros. Building only a shared library and a statically linked executable isn't supported anymore but this doesn't seem useful. | |||
2019-04-23 | Add built cmark.exe as an AppVeyor artifact | Marcus Ramse | |
2019-04-08 | Revise changelog | John MacFarlane | |
2019-04-07 | Updaet changelog. | John MacFarlane | |
2019-04-07 | For afl target, don't build tests. | John MacFarlane | |
2019-04-07 | Update spec. | John MacFarlane | |
2019-04-06 | Bump version to 0.29.0. | John MacFarlane | |
2019-04-06 | Update spec. | John MacFarlane | |
2019-04-06 | Update spec. | John MacFarlane | |
2019-04-06 | Update spec. | John MacFarlane | |
2019-04-06 | Resolve link references before creating setext header. | John MacFarlane | |
A setext header line after a link reference should not create a header, according to the spec. See commonmark/commonmark-spec#395. | |||
2019-04-06 | commonmark renderer: improve escaping. | John MacFarlane | |
URL-escape special characters when escape mode is URL, and not otherwise. Entity-escape control characters (< 0x20) in non-literal escape modes. | |||
2019-04-06 | render: only emit actual newline when escape mode is LITERAL. | John MacFarlane | |
For markdown content, e.g., in other contexts we want some kind of escaping, not a literal newline. | |||
2019-04-06 | Update spec. | John MacFarlane | |
2019-04-04 | Update code span normalization... | John MacFarlane | |
to conform with spec change. | |||
2019-04-04 | Update spec. | John MacFarlane | |
2019-04-03 | Allow empty `<>` link destination in reference link. | John MacFarlane | |
2019-04-03 | Update spec | John MacFarlane | |
2019-03-28 | Remove leftover includes of memory.h. | John MacFarlane | |
Closes #290. | |||
2019-03-26 | Merge pull request #269 from foonathan/master | John MacFarlane | |
Fix cmake warning about CMP0048, again | |||
2019-03-26 | Fix #289. | John MacFarlane | |
A link destination can't start with `<` unless it is an angle-bracket link that also ends with `>`. (If your URL really starts with `<`, URL-escape it.) | |||
2019-03-26 | Update spec.txt. | John MacFarlane | |
2019-03-26 | Update regression tests in light of recent spec changes... | John MacFarlane | |
affecting link destinations. | |||
2019-03-25 | Add regression test for #517. | John MacFarlane | |
2019-03-25 | Update test/spec.txt | John MacFarlane | |
2019-03-23 | Update spec; allow internal delimiter runs to match if... | John MacFarlane | |
both have lengths that are multiples of 3. See commonmark/commonmark#528. | |||
2019-03-22 | Include references.h in parser.h | John MacFarlane | |
Closes #287. | |||
2019-03-19 | Update spec. Fix `[link](<foo\>)`. | John MacFarlane | |
2019-03-19 | Define CMARK_OPT_SAFE for API compatibility. | John MacFarlane | |
It doesn't do anything; this is documented. | |||
2019-03-18 | Remove deprecated call to add_compiler_export_flags() | Jonathan Müller | |
It is deprecated in CMake 3.0, the replacement is to set the CXX_VISIBILITY_PRESET (or in our case C_VISIBILITY_PRESET) and VISIBILITY_INLINES_HIDDEN properties of the target. We're already setting them by setting the CMake variables anyway, so the call can be removed. | |||
2019-03-18 | Bump CMake to version 3 | Jonathan Müller | |
2019-03-17 | Make rendering safe by default. | John MacFarlane | |
Removes CMARK_OPT_SAFE from options. Adds CMARK_OPT_UNSAFE, with the opposite meaning. The new default behavior is to suppress raw HTML and potentially dangerous links. The CMARK_OPT_UNSAFE option has to be set explicitly to prevent this. -------------------------------------------------------- NOTE: This change will require modifications in bindings for cmark and in most libraries and programs that use cmark. -------------------------------------------------------- Closes #239, #273. Borrows heavily from @kivikakk's patch in github/cmark-gfm#123. | |||
2019-03-17 | Merge pull request #254 from github/empty-input | John MacFarlane | |
Check for empty buffer when rendering | |||
2019-03-17 | Avoid gcc warning for uninitialized variable. | John MacFarlane | |
2019-03-17 | Use hand-rolled scanner for thematic break. | John MacFarlane | |
Keep track of the last position where a thematic break failed to match on a line, to avoid rescanning unnecessarily. See commonmark/cmark#284. |