All notable changes to the "textile-js" library will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- [LIBRARY] Add data-line-end to HTML comments
- [DEPENDENCIEs] Update dependencies
- [LIBRARY] Don't inline-linebreak if whitespace follows the newline. Closes #5
- [DEPENDENCIEs] Update dependencies
- [LIBRARY] Re-add support of absolute path for link alias
- [LIBRARY] Suport relative URL and hash for link alias
- [LIBRARY] always pass context to toHTML calls
- [LIBRARY] add the HTML attribute @data-line-end@ to named block also
- [LIBRARY] Add option renderContext on toHTML function, to provide an execution context to renderers.
- [LIBRARY] Add option dontEscapeContentForTags on toHTML function, to allow to not escape content of a configurable list of tags
- add
npm lint fix
command - [Sync from original repo] Support self referencing link syntax
- [Sync from original repo] Add more cases to phrase boundary detection
- correct dingus script
- [Sync from original repo] npm package does not need to contain everything
- cleanup doc
- [Sync from original repo] Textile does not permit lists to start with more than one * or #
- [Sync from original repo] Updated build system : Removed .min version of lib (it is pointless, we have map files now)
- [Sync from original repo] Update fix for borgar#52
- [INTERNAL] Dependency update and security fix
- [LIBRARY] Add rendering hooks.
- [INTERNAL] Add tests for hooks and renderers
- [LIBRARY] add a new parameters to configurable hook functions of applyHook, to determine the current node level to the root node.
- [BINARY] Add
--css-class-original-line-number
option.
- [LIBRARY] add a original line number to rulers.
- [LIBRARY] correct line numbering on nested list items.
- [LIBRARY] correct line numbering of block-level elements inside paragraphs, no-paragraphs, table's cells, definition lists.
- [LIBRARY] correct line numbering of inlined tags, general case.
- [LIBRARY] add a HTML attribute @data-line-end@ to inlined tags.
- [LIBRARY] Keep original line number in the JsonML tree for HTML comments. Textile comments will stay ignored, to not change actual behavior.
- [LIBRARY] LI with small text should be line-numbered correctly.
- [INTERNAL] More linting
- [LIBRARY] further fix for borgar#52 : Stop processing after garbage cleaning, if we have reached the end of stream
- [DOC] activate live web editor
- [DOC] describe new features on our repository
- [LIBRARY] add a configurable hook, to modify JsonML nodes before rendering to HTML.
- [LIBRARY] add some JsonML tools functions, under the exported
jsonmlUtils
property.
- [DEPENDENCIEs] Update dependencies, following main repo.
- [DOC] Move CHANGELOG to the right place
- [INTERNAL] Linting
- [LIBRARY] Add version and build date as comment in the produced code (full and minimized)
- [LIBRARY] Add a
tokenize( textileString, options )
member, to get the JSONML tree without a global 'html' node.
- [LIBRARY] Add original line number to inline HTML tags.
- [LIBRARY] Import "Fixing an error in phrase bounds" from original repo
- [LIBRARY] Ignore blanks between blocks. Fixes borgar#52
- [LIBRARY] Option "showOriginalLineNumber" : adds original (source) line number to the generated HTML, by adding the HTML attribute "data-line" to each relevant tag.
- [LIBRARY] Option "cssClassOriginalLineNumber" : adds this CSS className to each generated tag in which original line number is added.
- [BIN] Option --show-original-line-number : activate the corresponding option of the library.
- Updated dev dependencies
- Added VSCode projects files