aboutsummaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2020-05-21make_spec.lua: Fix unqualified calls to node_append_child.John MacFarlane
2020-04-04Separating text from edge of screen (#642)Andrei Korzhyts
* Separating text from edge of screen. * Separating text from edge of screen (fix).
2020-04-03Consistency of color code syntax. (#641)Andrei Korzhyts
2020-03-10Improved html & css syntax. (#639)Andrei Korzhyts
2019-12-16Update make_spec.lua (#626)Christoph Päper
Removes extraneous href attribute on headings. fixes #625
2019-04-28Fix tools/make_spec.lua so it properly handles cross-refs.John MacFarlane
Previously it broke in a few cases, e.g. with soft breaks. This fixes the issue described in #578.
2019-04-08make_spec.lua - use unsafe mode so HTML isn't filtered out.John MacFarlane
2019-04-08Adopt make_spec.lua for lua 5.3 and new number type.John MacFarlane
So we don't get `<h2.0>`.
2018-10-04make_spec.lua: fix migration of children nodes in create_anchors (#536)Zhiming Wang
* make_spec.lua: rename children to child Naming a variable "children" when it holds one child is confusing, and blocks naming actual children. * make_spec.lua: fix migration of children nodes in create_anchors Prior to this commit, when migrating the children of a node to a new one, children are moved as they are iterated via `cmark_node_next`; however, when a child is moved under the new node, its next relationship with its sibling is broken, so in fact at most one child is migrated, and the rest are lost. This resulted in cases like [Decimal numeric character references](@) consist of... (note the softbreak) being eventually rendered as <a ...>Decimal numeric character</a> consist of...
2018-10-01Fix dingus link when double clicking Markdown code (#535)Zhiming Wang
Prior to this commit, the link opened is always `/dingus/?text=` (no text), because `$(this)` is `code.language-markdown`, so `.find`ing `code` in its descendants turns up nothing.
2016-06-04make interact more button-like and clearerJeff Atwood
2016-01-10New format for spec tests, new lua formatter for specs.John MacFarlane
The format for the spec examples has changed from . markdown . html . to ```````````````````````````````` example markdown . html ```````````````````````````````` One advantage of this is that `spec.txt` becomes a valid Markdown file. `tests/spec_test.py` has been changed to use the new format. The old `tools/makespec.py` has been replaced by a lua program, `tools/make_spec.lua`, which uses the `lcmark` rock (and indirectly libcmark). It can generate html, latex, and commonmark versions of the spec. Pandoc is no longer needed for the latex/PDF version. And, since the new program uses the cmark API and operates directly on the parse tree, we avoid certain bad results we got with the regex replacements done by the python script.
2015-12-28Fixed small regression in makespec.py.John MacFarlane
2015-12-28makespec.py: remove need for link anchors to be on one line.John MacFarlane
2015-12-23makespec.py: Only do two levels in the TOC.John MacFarlane
2015-10-19Modified specfilter.hs to account for last change.John MacFarlane
2015-10-19Use 'display:inline-block' rather than floats for side-by-side.John MacFarlane
This works when printed too.
2015-10-19Added better print CSS.John MacFarlane
2015-08-16Added version to coverpage in PDF version of spec.John MacFarlane
2015-07-29makespec.py: Use check_output for simpler pipe_through_progJohn MacFarlane
2015-07-28Another encoding fix in makespec.py.John MacFarlane
2015-07-28Fixed dumb mistake in makespec.py.John MacFarlane
2015-07-28Fixed typo in makespec.py.John MacFarlane
2015-07-28Fixed various problems with spec.pdf generation.John MacFarlane
Closes #353.
2015-07-28makespec.py: avoid encoding errors.John MacFarlane
Partially addresses #353.
2015-07-22Avoid extra space before section number in spec.md.John MacFarlane
2015-03-04Fixed dingus link in tools/template.html.John MacFarlane
2015-02-14Use --smart option in producing spec.John MacFarlane
2015-02-06New dingus location for interact links.John MacFarlane
2015-02-06Revert "Use new dingus address and hash format for "interact" links."John MacFarlane
This reverts commit 75725d2c9fd81580886580923b09c2b485df3d6e.
2015-02-04Use new dingus address and hash format for "interact" links.John MacFarlane
2015-01-24Updated makespec.py to use `cmark` in path.John MacFarlane
2015-01-24Removed implementation-specific material from repository.John MacFarlane
The C and JS implementations are being split off into different repositories. This repository will just have the spec itself.
2015-01-24Removed JS implementation, which is moving to its own repo:John MacFarlane
<https://github.com/jgm/commonmark.js>
2015-01-17Added new fine-grained JS benchmarks.John MacFarlane
And a script to run them.
2015-01-15Fixed template path in tools/makespec.py.John MacFarlane
2015-01-15Fixed (interact) link in template.html.John MacFarlane
This broke when we switched from pandoc to cmark for the spec, because the class on code changed from 'markdown' to 'language-markdown'.
2015-01-15Re-added tools/{makespec.py, template.html, template.tex}.John MacFarlane
These were inadvertently dropped in the commit that described them as being moved to tools/.
2015-01-12Moved spec2js.js to tools/.John MacFarlane
2015-01-12Moved templates, makespec.py, and specfilter.hs -> tools/.John MacFarlane
2015-01-12Moved mkcasefold.pl to tools/.John MacFarlane