| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Improve the languages list. | Matthäus G. Chajdas | 2022-10-24 | 1 | -31/+0 |
| | | | | | | | * Move the generation into sphinext, similar to other overviews we have. * Generate a table instead of the plain list. This table contains links to the lexer class now. | ||||
| * | Rework URL information in lexers. | Matthäus G. Chajdas | 2022-03-20 | 1 | -0/+31 |
| | | | | | | | | | This commit adds a new url field to a lexer, which can be used to link to the language website, instead of relying on having the link in either languages.rst or the docstring of the lexer. Additionally, it changes the languages.rst file to auto-generate the list of lexers from the actual source code, using the provided URL. | ||||
| * | Add link to changelog in sidebar. | Matthäus G. Chajdas | 2021-12-29 | 1 | -10/+1 |
| | | |||||
| * | demo: remove Highlight button (update automatically) | Martin Fischer | 2021-12-26 | 1 | -6/+4 |
| | | |||||
| * | demo: display warning for styles with poor contrasts | Martin Fischer | 2021-12-26 | 1 | -1/+2 |
| | | |||||
| * | demo: support tokens formatter | Martin Fischer | 2021-12-26 | 1 | -0/+7 |
| | | |||||
| * | demo: streamline interface (and improve accessibility) | Martin Fischer | 2021-12-26 | 1 | -27/+38 |
| | | | | | | | | | | | * "Try out Pygments!" is more descriptive than "Try it out!" * Moved the description of the implementation to the end. * Added a <noscript> tag suggesting `pip install` and pygmentize. * Added a <label> for the textarea. * Disable spell checking for the textarea. * Reduced the scope of the reset button to the file input. * Added autofocus for the language select. | ||||
| * | demo: fix lexer guessing based on filename | Martin Fischer | 2021-12-26 | 1 | -1/+1 |
| | | |||||
| * | demo: clean up markup | Martin Fischer | 2021-12-26 | 1 | -16/+23 |
| | | |||||
| * | demo: instantly apply style changes by avoiding re-lexing | Martin Fischer | 2021-12-26 | 1 | -9/+15 |
| | | |||||
| * | demo: promote styles with a good contrast | Martin Fischer | 2021-12-26 | 1 | -2/+9 |
| | | |||||
| * | demo: guess lexer if none selected | Martin Fischer | 2021-12-26 | 1 | -6/+6 |
| | | |||||
| * | demo: disable copy link when URI too long for web server | Martin Fischer | 2021-12-26 | 1 | -0/+1 |
| | | |||||
| * | demo: stop using deprecated Document.execCommand() | Martin Fischer | 2021-12-26 | 1 | -2/+1 |
| | | | | | Use the modern navigator.clipboard API instead. | ||||
| * | demo: stop blocking main thread by using web worker | Martin Fischer | 2021-12-26 | 1 | -3/+1 |
| | | | | | | | | | | | Previously highlighting a large file with a complex lexer just hung the whole browser tab (meaning you couldn't interact with the page anymore). This commit outsources the higlighting to another thread by using a web worker. Depending on web workers shouldn't reduce browser compatability since the page already depends on WASM (and according to caniuse.com any browser that supports WASM also supports web workers). | ||||
| * | demo: make form usable while Pyodide is loading | Martin Fischer | 2021-12-26 | 1 | -7/+13 |
| | | | | | | | | | | | | | | | Previously the form could only be filled out after Pyodide finished loading (since the <select> options were generated via Pyodide). This commit changes this, so that the <select> options are already in the static HTML. The "Loading Python..." form overlay is removed, instead just the Highlight button is disabled, letting users fill out the form while Pyodide is loading. When a ?code query parameter is given a "Loading Python..." message is displayed below the form, since in that case users probably want to wait for the highlighted code (instead of filling out the form). | ||||
| * | Promote styles meeting WCAG AA in styles gallery (#1954) | Martin Fischer | 2021-11-14 | 1 | -7/+26 |
| | | | | Part of #1718. | ||||
| * | Restore pre background color on website | Martin Fischer | 2021-11-04 | 1 | -0/+3 |
| | | | | | | Was removed in 5a987b8af8dcbddcbd5cade37adebed5b5dd99f1 but that introduced unintended changes. | ||||
| * | Add styles gallery to website (#1943) | Martin Fischer | 2021-11-04 | 1 | -0/+33 |
| | | |||||
| * | Make pygments.org website responsive (#1942) | Martin Fischer | 2021-11-03 | 1 | -1/+4 |
| | | |||||
| * | doc/demo: add ability to highlight text given in url query; copy link feature | Georg Brandl | 2020-12-16 | 1 | -0/+3 |
| | | |||||
| * | demo: rebuild WASM with every push | Georg Brandl | 2020-09-01 | 1 | -2/+1 |
| | | |||||
| * | demo: show Pygments version in use | Georg Brandl | 2020-09-01 | 1 | -0/+1 |
| | | |||||
| * | Fix broken link in doc/_templates/indexsidebar.html (#1515) | Richard Si | 2020-08-20 | 1 | -1/+1 |
| | | |||||
| * | all: fixup http->https for github, pypi, pocoo etc URLs | Georg Brandl | 2019-12-10 | 1 | -4/+4 |
| | | |||||
| * | make download feature more compatible, credit to Pyodide | Georg Brandl | 2019-11-24 | 1 | -5/+7 |
| | | |||||
| * | add feature to download generated HTML | Georg Brandl | 2019-11-24 | 1 | -0/+4 |
| | | |||||
| * | add pyodide-based demo for the website | Georg Brandl | 2019-11-24 | 3 | -0/+48 |
| | | |||||
| * | Update hg/bitbucket -> git/github everywhere. | Georg Brandl | 2019-11-10 | 1 | -5/+6 |
| | | |||||
| * | Remove link to pocoo channel | João Almeida | 2019-10-03 | 1 | -5/+3 |
| | | | | | Now it's gone :) | ||||
| * | merge default into stable | Georg Brandl | 2016-01-17 | 2 | -0/+28 |
