summaryrefslogtreecommitdiff
path: root/pygments/lexers/markup.py
Commit message (Collapse)AuthorAgeFilesLines
* all: remove "u" string prefix (#1536)Georg Brandl2020-09-081-2/+2
| | | | | | | | | | | * all: remove "u" string prefix * util: remove unirange Since Python 3.3, all builds are wide unicode compatible. * unistring: remove support for narrow-unicode builds which stopped being relevant with Python 3.3
* all: use argumentless super()Georg Brandl2020-09-061-6/+3
|
* all: use yield from (#1537)Georg Brandl2020-09-061-8/+4
|
* all: fixup remaining regexlint warningsGeorg Brandl2020-09-061-23/+27
|
* Update copyright year (fixes #1514.)Matthäus G. Chajdas2020-08-221-1/+1
|
* Added '*.markdown' file extension to 'markdown' lexer (#1476)Konstantin Podsvirov2020-08-021-1/+1
| | | Some people use the full name of the markup.
* 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.