summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* update manpage with -g, -N, -CGeorg Brandl2021-01-211-2/+20
|
* Rename "tests/lexers" to "tests/snippets" and update the contributionGeorg Brandl2021-01-201-3/+3
| | | | docs to point to both snippets and examplefiles.
* Also add auto-updatable output-based tests to examplefiles (#1689)Oleh Prypin2021-01-201-4/+6
| | | Co-authored-by: Georg Brandl <georg@python.org>
* Run pyupgrade across codebase to modernize syntax and patterns (#1622)Jon Dufresne2021-01-171-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | pyupgrade is a tool to automatically upgrade syntax for newer versions of the Python language. The project has been Python 3 only since 35544e2fc6eed0ce4a27ec7285aac71ff0ddc473, allowing for several cleanups: - Remove unnecessary "-*- coding: utf-8 -*-" cookie. Python 3 reads all source files as utf-8 by default. - Replace IOError/EnvironmentError with OSError. Python 3 unified these exceptions. The old names are aliases only. - Use the Python 3 shorter super() syntax. - Remove "utf8" argument form encode/decode. In Python 3, this value is the default. - Remove "r" from open() calls. In Python 3, this value is the default. - Remove u prefix from Unicode strings. In Python 3, all strings are Unicode. - Replace io.open() with builtin open(). In Python 3, these functions are functionally equivalent. Co-authored-by: Matthäus G. Chajdas <Anteru@users.noreply.github.com>
* doc: remove Perl 6 refGeorg Brandl2021-01-111-1/+0
|
* update pygments.rb URL to new home (#1669)Marat Radchenko2021-01-082-2/+2
| | | see #1660
* Bump copyright year.Matthäus G. Chajdas2021-01-033-3/+3
|
* doc/demo: add ability to highlight text given in url query; copy link featureGeorg Brandl2020-12-163-1/+50
|
* all: remove "u" string prefix (#1536)Georg Brandl2020-09-081-6/+6
| | | | | | | | | | | * 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-1/+1
|
* Update CHANGES and language list.Matthäus G. Chajdas2020-09-031-0/+1
|
* demo: rebuild WASM with every pushGeorg Brandl2020-09-012-5/+1
|
* demo: show Pygments version in useGeorg Brandl2020-09-012-0/+4
|
* Spell out that we want lexers in separate files.Matthäus G. Chajdas2020-08-231-1/+5
|
* docs: clarify cmdline invocation in lexer dev sectionGeorg Brandl2020-08-231-3/+6
| | | | closes #1518
* Add lexer for Pointless (#1494)Avery N. Nortonsmith2020-08-231-0/+1
| | | | | | | | | | | | | | | | | | | * add lexer for pointless * lexer docstring formatting * added link to languages doc * update authors * update version * added double string * added upval keyword * simplify ptls example code * rename doubleString -> multiString
* Update copyright year (fixes #1514.)Matthäus G. Chajdas2020-08-223-3/+3
|
* Added BARE schema lexer (#1488)Martijn Braam2020-08-221-0/+1
|
* Manually merge PR#1497.Matthäus G. Chajdas2020-08-221-0/+48
| | | | | This is a manual merge as we don't want to pull in the documentation change as part of this fix for a cleaner history.
* Fix broken link in doc/_templates/indexsidebar.html (#1515)Richard Si2020-08-201-1/+1
|
* Updated languages list with more links (#1472)Rys Sommefeldt2020-06-031-129/+129
|
* Update CHAGES, language list.Matthäus G. Chajdas2020-06-011-1/+3
|
* Add lexer for Devicetree language (#1434)Maxime Chretien2020-05-261-0/+1
| | | | | | | | | | | | | | | | | | | * Add lexer for Devicetree language Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com> * Devicetree lexer: fix random input test error Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com> * Devicetree lexer: fix example file reference Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com> * Devicetree lexer: Reduce example file size Also add some missing language elements Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
* Add lexer for YANG 1.1 (#1408)GRIBOK2020-04-131-0/+1
| | | | | | | | | | | | | | | | | | | * Add yang lexer for issue pygments/pygments#1407 * fix copyright statement * adjust examplefile for yang * fix to avoid duplicate code in lexer * add more testcases for yang lexer * simplify yang lexer * simplify default rule in yang lexer * change example yang file * add version to yang lexer
* Add execline lexer (#1393)Molly Miller2020-04-101-0/+1
| | | | | | | | | | | | | | | | | * Implement lexer for execline. This commit introduces a lexer for Laurent Bercot's execline scripting language (https://skarnet.org/software/execline) based on Pygments' existing bash lexer, with some minor adaptations for execline's variable naming rules. * Add versionadded note and website link to execline lexer. * Add execline to languages.rst and example execline script * Explicitly mark non-special characters in execline lexer as Text * Correct execline lexer version addded Co-authored-by: Molly Miller <sysvinit@users.noreply.github.com>
* A lexer for F*, an ML dialect for program verification (#1409)Denis Merigoux2020-04-101-0/+1
| | | | | | | | | | | | | | | | | | | * A lexer for F*, an ML dialect for program verification * Fix treatment of infix applications, e.g. * Correct modifications * Better lexing * Added F* to the list of supported languages * Add example file * Bumped versionadded field * Added link to language Co-authored-by: Jonathan Protzenko <jonathan.protzenko@gmail.com>
* Update CHANGES, docs, add versionadded.Matthäus G. Chajdas2020-04-101-0/+1
|
* Add ReasonML lexer. (#1386)Florian Hammerschmidt2020-02-291-0/+1
|
* Mention MiniScript in language list/CHANGES, add versionadded.Matthäus G. Chajdas2020-02-291-0/+1
|
* Fix links (#1389)Ofek Lev2020-02-102-2/+2
| | | | | | * Fix link * here too
* FAQ: refer to issue instead of email for additionGeorg Brandl2020-02-011-2/+2
|
* FAQ: add snippet.hostGeorg Brandl2020-02-011-0/+1
|
* Update CHANGES, language list, and regenerate mapfile.Matthäus G. Chajdas2020-01-241-0/+1
|
* Add a PEG (Parsing Expression Grammar) lexer (#1336)Michael Wayne Goodman2020-01-161-0/+1
| | | | | * Add a PEG (Parsing Expression Grammar) lexer * Add PEG to doc/languages.rst and indicate version
* Add Haxe to languages.rstJohn Gabriele2020-01-141-0/+1
| | | Not sure why Haxe wasn't in there. Pygments supports it.
* Merge branch 'master' into 671/upsuper/webidlMatthäus G. Chajdas2020-01-0712-84/+199
|\ | | | | | | This allows us to resolve the merge conflict properly.
| * Update CHANGES, language list.Matthäus G. Chajdas2020-01-041-0/+1
| | | | | | | | Add the Sieve lexer which was just merged.
| * Update many links to use HTTPS and skip redirectsKurt McKee2019-12-188-47/+47
| |
| * all: fixup http->https for github, pypi, pocoo etc URLsGeorg Brandl2019-12-105-14/+14
| |
| * dmesg lexer refinements:Georg Brandl2019-12-091-5/+1
| | | | | | | | | | | | * move to textfmts.py where other logfiles are * fix detection of dmesg -x (heuristic "unknown" state must be last) * change styles for debug/warn lines
| * This commit adds a lexer for linux kernel logs as outputted by `dmesg`martijn@msi.localhost2019-12-091-0/+5
| | | | | | | | | | | | | | | | It supports output from `dmesg`, in that case it highlights based on keywords in the line It can also highlight `dmesg -x` output. In that case it uses the loglevels from the kernel to highlight the lines.
| * Merge pull request #1332 from pygments/task/improve-docsMatthäus G. Chajdas2019-12-081-9/+10
| |\ | | | | | | Improve docs.
| | * Improve docs.Matthäus G. Chajdas2019-12-081-9/+10
| | | | | | | | | | | | Add a contributing guide for newcomers, and remove references to pygmentize in the development docs. During development, there is no pygmentize.
| * | Mosel: style fixes, add changelog entry etcGeorg Brandl2019-12-081-0/+3
| |/
| * Merged with master and resolved a minor merge conflict in languages.rstColin Kennedy2019-11-302-29/+138
| |\
| | * doc: update language listGeorg Brandl2019-11-301-28/+137
| | |
| | * update claim about number of lexersGeorg Brandl2019-11-301-1/+1
| | |
| * | Added USD to supporting filesColin Kennedy2019-11-261-0/+1
| |/
* | Add versionadded, fix conflict.Matthäus G. Chajdas2020-01-071-0/+1
| |
* | Add Web IDL lexerXidorn Quan2019-11-281-0/+1
|/