Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-06-27 | Ensure explicit line breaks are at end of line | Loïc Hoguin | |
2018-06-27 | Remove the 99s stylesheet from generated HTML | Loïc Hoguin | |
2018-06-27 | Add missing "asciidoc" table style | Loïc Hoguin | |
2018-06-13 | Make passthrough blocks verbatim | Loïc Hoguin | |
2018-06-13 | Rename a function | Loïc Hoguin | |
2018-06-13 | Add numbered lists in the HTML output | Loïc Hoguin | |
2018-06-13 | Add mailto links | Loïc Hoguin | |
2018-06-12 | Add passthrough blocks for HTML | Loïc Hoguin | |
2018-06-12 | Add forced line breaks | Loïc Hoguin | |
2018-06-12 | Support --no-header-footer option in scripts/asciidoc | Loïc Hoguin | |
2018-06-12 | Parse table cols specs and add caption if any | Loïc Hoguin | |
2018-06-12 | Fix table cells containing blocks | Loïc Hoguin | |
2018-06-12 | Fix a Dialyzer warning | Loïc Hoguin | |
2018-06-11 | Many fixes based on reading the HTML renders of Cowboy docs | Loïc Hoguin | |
2018-06-11 | Add source-highlight support to HTML output | Loïc Hoguin | |
2018-06-11 | Add scripts/asciidoc ad-hoc replacement and HTML output | Loïc Hoguin | |
This allows me to build ninenines.eu using Asciideck and while the results are not perfect yet things are looking pretty, pretty good. Adding source-highlight support, showing images and fixing a few minor issues should bring me to the point where I can drop Asciidoc. | |||
2018-06-08 | Rewrite the project | Loïc Hoguin | |
The new code is much more readable and easier to extend. I took inspiration from Haskell's Parsec project which seems to only write the happy-path and applied the idea to Erlang's exceptions. When the parser tries to parse, say, a list, and crashes, it tries with a table next, and so on until something matches. Normal paragraphs always match so there can be no parsing failures. The parser now has a number of passes: first the block parser, then lists and tables passes to build a proper tree out of them and finally an inline pass to apply inline formatting. The resulting AST can then be modified at will and passed on to translator modules which output a different format. The man page translator was also rewritten and has been tested against both Cowboy and Gun. Numerous issues were fixed as a result of this rewrite. | |||
2016-12-02 | Fix a small issue with labeled lists | Loïc Hoguin | |
2016-11-26 | Fix an issue in Ranch manual | Loïc Hoguin | |
Solution is a hack for now, unfortunately. | |||
2016-11-05 | Fix labeled lists containing unsorted lists | Loïc Hoguin | |
2016-11-04 | Unescape pipes when parsing table cells | Loïc Hoguin | |
2016-11-04 | Remove an io:format | Loïc Hoguin | |
2016-11-02 | Allow numbers in man page names when building links | Loïc Hoguin | |
2016-11-02 | Ignore comments inside paragraphs | Loïc Hoguin | |
2016-11-02 | Handle labeled lists the same as normal lists | Loïc Hoguin | |
Including support for lists continuations. | |||
2016-11-02 | Fix an issue with line continuations | Loïc Hoguin | |
2016-10-31 | Add a check for mandatory name section for man pages | Loïc Hoguin | |
2016-10-31 | Make extra man page fields configurable | Loïc Hoguin | |
2016-10-31 | Add compress and outdir options to man translator | Loïc Hoguin | |
2016-10-18 | Fix the AST and add tests for formatting | Loïc Hoguin | |
Also opened the way to making configurable quoted text elements, like the original Asciidoc allows. We could potentially end up allowing users to define different types of quotes producing custom AST. | |||
2016-10-17 | Initial commit | Loïc Hoguin | |
This is still very much in a proof of concept state, though the project should be in a good enough state that future additions are relatively painless. Text formatting nodes are not using the proper form in the AST at the moment. They should not be relied upon just yet. |