diff options
author | Mestery <48163546+Mesteery@users.noreply.github.com> | 2021-01-17 14:30:33 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2021-01-18 16:50:38 +0100 |
commit | 604382c59e0b08fe2d7dffd10acd839c74296896 (patch) | |
tree | a1745c038c8f378e903530fef9e490eea3700b94 | |
parent | debda34e2d4f28d6d369cdafdcba4791702f63fc (diff) | |
download | pygments-git-604382c59e0b08fe2d7dffd10acd839c74296896.tar.gz |
add markdown to aliases
-rw-r--r-- | CHANGES | 1 | ||||
-rw-r--r-- | pygments/lexers/markup.py | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -18,6 +18,7 @@ Version 2.8.0 - Do not guess MIME or SQL without reason - Changed setuptools to use a declarative config through ``setup.cfg``. Building Pygments now requires setuptools 39.2+. +- Added markdown to MarkdownLexer aliases (#1687) Version 2.7.4 diff --git a/pygments/lexers/markup.py b/pygments/lexers/markup.py index a2432cd9..e3cc8171 100644 --- a/pygments/lexers/markup.py +++ b/pygments/lexers/markup.py @@ -502,7 +502,7 @@ class MarkdownLexer(RegexLexer): .. versionadded:: 2.2 """ name = 'markdown' - aliases = ['md'] + aliases = ['md', 'markdown'] filenames = ['*.md', '*.markdown'] mimetypes = ["text/x-markdown"] flags = re.MULTILINE |