Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update injection mechanism and stop injecting through highlight element, ↵ | Paul Daniel Faria | 2020-06-23 | 1 | -31/+31 |
| | | | | switch to more general new highlight tag, generic | ||||
* | Add punctuation highlighting for highlighting punctuation in doctests, fix ↵ | Paul Daniel Faria | 2020-06-23 | 1 | -42/+42 |
| | | | | highlighting in doctests | ||||
* | Add default color and opacity for documentation and injected, respectively, ↵ | Paul Daniel Faria | 2020-06-23 | 1 | -0/+2 |
| | | | | in the html generator | ||||
* | Add support for marking doctest items as distinct from normal code, add ↵ | Paul Daniel Faria | 2020-06-23 | 1 | -22/+22 |
| | | | | default tag to all doctest elements | ||||
* | Fix underflow panic when doctests are at top of file | Paul Daniel Faria | 2020-06-23 | 1 | -1/+4 |
| | |||||
* | Syntax highlighting for documentation comments on macro definitions | Leander Tentrup | 2020-06-19 | 1 | -0/+9 |
| | |||||
* | Merge #4903 | bors[bot] | 2020-06-18 | 1 | -38/+38 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | 4903: Add highlighting support for doc comments r=matklad a=Nashenas88 The language server protocol includes a semantic modifier for documentation. This change exports that modifier for doc comments so users can choose to highlight them differently compared to regular comments. Example: <img width="375" alt="Screen Shot 2020-06-16 at 10 34 14 AM" src="https://user-images.githubusercontent.com/1673130/84788271-f6599580-afbc-11ea-96e5-7a0215da620b.png"> CC @woody77 Co-authored-by: Paul Daniel Faria <[email protected]> | ||||
| * | Remove logic to mark all doctest code as | Paul Daniel Faria | 2020-06-18 | 1 | -13/+13 |
| | | |||||
| * | Ensure all existing doctest code highlights have documentation modifier | Paul Daniel Faria | 2020-06-17 | 1 | -13/+13 |
| | | |||||
| * | Add highlighting support for doc comments | Paul Daniel Faria | 2020-06-17 | 1 | -38/+38 |
| | | |||||
* | | Syntax highlighting for escape sequences in strings | Leander Tentrup | 2020-06-17 | 1 | -0/+1 |
|/ | |||||
* | Inspect markdown code fences to determine whether to apply syntax highlighting | Leander Tentrup | 2020-06-16 | 1 | -1/+5 |
| | |||||
* | Syntactic highlighting of NAME_REF for injections | Leander Tentrup | 2020-06-15 | 1 | -6/+17 |
| | | | | | | This commit adds a function that tries to determine the syntax highlighting class of NAME_REFs based on the usage. It is used for highlighting injections (such as highlighting of doctests) as the semantic logic will most of the time result in unresolved references. It also adds a color to unresolved references in HTML encoding. | ||||
* | Better unsafe highlihgting tests | Aleksey Kladov | 2020-06-08 | 1 | -1/+2 |
| | |||||
* | Implement syntax highlighting for doctests | Leander Tentrup | 2020-06-08 | 1 | -0/+70 |