| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-12-20 | all: use consistent names for parser | Shulhan | |
| Instead of parserX (or parser_x.go) we move the X as prefix so it will become XParser (or x_parser.go). | |||
| 2020-12-10 | all: refactoring document parser to split content by lines | Shulhan | |
| Previously, we read the raw content line by line. Unfortunately, this technique did not work for "include" directive, where the included file's content will be embedded to current content. This changes split the initial raw content by lines to make it allow injecting another lines when including directives exist. | |||
| 2020-12-03 | all: unified the document node attributes | Shulhan | |
| 2020-11-16 | all: support forcing line break by ending the line with " +\n" | Shulhan | |
| 2020-11-15 | all: change the classes field from slice to map | Shulhan | |
| This is to prevent duplicate class values on document or node. | |||
| 2020-11-08 | parser_inline: check for space before parsing link or macro | Shulhan | |
| This is to fix the "http: <text>" to be considered a link. | |||
| 2020-11-08 | all: apply substitution to links, block image, video, and audio | Shulhan | |
| Use cases, * link:{attr-ref}[Alt text] * video::{url}[...] * image:{a}[X, link={y}] | |||
| 2020-11-04 | all: parse inline format on list description item label | Shulhan | |
| 2020-11-04 | all: check for duplicate IDs | Shulhan | |
| If the next ID is duplicate, the asciidoc parser will generate new one by adding suffix "_x" (where x is the counter) to the duplicate ID. | |||
| 2020-11-04 | parser_inline: truncate inline link only if its end with '.', ',' or ';' | Shulhan | |
| 2020-11-04 | all: support inline image with link option | Shulhan | |
| 2020-11-03 | all: implement characters replacement on inline parser | Shulhan | |
| 2020-11-03 | all: implement parser for attribute reference | Shulhan | |
| The parser will replace attribute reference with its value if its exist, otherwise it will keep it as is. | |||
| 2020-11-03 | all: implement parser for customizing the cross reference text | Shulhan | |
| The cross reference text can be customized using attribute name "reftext" with value is the alternative text to be displayed on anchor. | |||
| 2020-11-01 | all: implement parser for inline and natural cross reference | Shulhan | |
| 2020-10-31 | all: implement parser for block anchor and inline anchor | Shulhan | |
| 2020-10-30 | all: store the src and href on adocNode Attrs instead of value | Shulhan | |
| The field value should be only used by lineKindAttribute. | |||
| 2020-10-29 | all: implement parser for inline image | Shulhan | |
| 2020-10-29 | all: implement parser for inline URL and link | Shulhan | |
| 2020-10-28 | all: implement parse for triple passthrough | Shulhan | |
| 2020-10-28 | all: handle escaped character when parsing inline formatting | Shulhan | |
| If the inline formatting syntax begin with "\", it will be ignored and will be considered as single character. | |||
| 2020-10-27 | all: implement parser for subscript and superscript | Shulhan | |
| Subscript is inline formatting that wrap string without space with "~". Superscript is inline formatting that wrap string without space with "^". | |||
| 2020-10-27 | all: implement parser for single quote curve | Shulhan | |
| Single quote curve is the one that start with ('`) and end with (`'). If (`') does not have a start format it will turn into apostrophe. | |||
| 2020-10-26 | all: implement parser for double quote curve ("`...`") | Shulhan | |
| 2020-10-26 | all: implement parser for inline formatting bold, italic, and mono | Shulhan | |
| Finally, I can get this works with all the quirks of how it should be rendered. Its not perfect, at least it started working. It take me couple of weeks to figuring it out how it should be worked. | |||
