summaryrefslogtreecommitdiff
path: root/pygments/lexers/markup.py
Commit message (Collapse)AuthorAgeFilesLines
* Improve Markdown lexer (#1495)Leistungsabfall2020-07-211-21/+32
| | | | | | | | | | | | | | | | | | | | | * Add support for Setext-style headings in Markdown * Improve inline code detection in Markdown * Add support for indented code blocks in Markdown * Improve italics & bold detection in Markdown * Simplify italics & bold regexes in Markdown * Add warning about possible unrecognized internal tags in Markdown * Improve striktethrough detection in Markdown * Small bugfix in Markdown * Small bugfix in Markdown * Small refactoring in Markdown
* Add support for .tid files (TiddlyWiki5) (#1390)Max2020-05-241-1/+160
| | | | | | | | | | | * add support for .tid files (TiddlyWiki5) * add lexers/_mapping.py * markup.py: change versionadded of TiddlyWiki5Lexer to 2.7 * markup.py, TiddlyWiki5Lexer: use non-greedy matcher for table headers, footers, captions and classes * markup.py, TiddlyWiki5Lexer: make timestamps of type Number.Integer
* reStructuredText: highlight only field list markersEric Knibbe2019-11-271-4/+3
|
* Fixup all headers and some more minor problems.2.4.2Georg Brandl2019-05-281-1/+1
|
* Merged in cjwatson/pygments-main (pull request #753)Anteru2019-04-011-0/+5
|\ | | | | | | Markdown: add support for reference-style links
| * Markdown: add support for reference-style linksColin Watson2018-02-221-0/+5
| |
* | Fix issue with markdown lexer code fencesFredrik Larsen2017-11-101-4/+3
|/ | | | | | | Fixes the bug reported in #1389, where the markdown lexer will not issue a token for the closing code fence. Issue: #1389
* Copyright update.Georg Brandl2017-01-221-1/+1
|
* Add support for partials and path segments for Handlebars.Christian Hammond2016-11-041-0/+595
This introduces support for some missing features to the Handlebars lexer: Partials and path segments. Partials mostly appeared to work before, but the `>` in `{{> ... }}` would appear as a syntax error, as could other components of the partial. This change introduces support for: * Standard partials: `{{> partialName}}` * Partials with parameters: `{{> partialName varname="value"}}` * Ddynamic partials: `{{> (partialFunc)}}` * Ddynamic partials with lookups: `{{> (lookup ../path "partialName")}}` * Partial blocks: `{{> @partial-block}}` * Inline partials: `{{#*inline}}..{{/inline}}` It also introduces support for path segments, which can reference content in the current context or in a parent context. For instance, `this.name`, `this/name`, `./name`, `../name`, `this/name`, etc. These are all now tracked as variables.