Changelog
phil/highlight-bundlePas encore traduite
Cette page n’est pas encore traduite en français ; elle est montrée en anglais.
All notable changes to phil/highlight-bundle will be documented in this file.
Updates should follow the Keep a CHANGELOG principles.
NEXT - YYYY-MM-DD
Added
- The
Highlighterservice: the languages ofphil/highlight, the services implementingLanguage, autoconfigured with thephil_highlight.languagetag, each in place of a language of the same name, and the configured aliases. PhilHighlightBundleand thephil_highlightconfiguration:aliases, more names for a language, checked as the highlighter checks them; and theujointegration, which can be switched off.HighlighterPassandAliasedLanguage: the tagged languages and the aliases added once every bundle is loaded, and theHtmlRendererofphil/ujo-bundledecorated with the highlighter, so the code blocks of every UJO document are coloured on the server.- The Twig filter
highlight: code escaped and wrapped inhl-spans in a language, or escaped alone for a language the highlighter does not know or none; withlines, line by line, numbered, ranges highlighted and the annotations of comments read. assets/styles/highlight.css: a theme of thehl-classes and of the blocks that hold them, light and dark by the system ordata-theme, light on paper, its colours custom properties meeting the WCAG AA contrast, marked lines told by a tint, a bar and a sign, mapped for AssetMapper asphil-highlight/highlight.css.- The documentation in
doc/, one file per topic, indexed by the README. CONTRIBUTING.md,SECURITY.mdandCODE_OF_CONDUCT.md.