examples/prism-python.html

Branch


Log

Author Commit Date CI Message
Michael Schmidt 36a5fa0e 2019-06-30T04:19:54 Known failure page (#1876) This PR adds a known failures page. This resolves #1750. The known failures are moved from the example pages. (I also updated all example pages with invalid HTML.) Some known failures were actually fixed in the meantime but never updated, so I removed a few. Those were: - Handlebars - Markdown's nested bold-italic - Smarty - Textile's "Nested styles are only partially supported" ### Screenshot <details> ![image](https://user-images.githubusercontent.com/20878432/56849438-7eca3200-68f4-11e9-9dc3-bf0256be8d1e.png) </details>
Michael Schmidt a69c2b62 2018-12-02T16:48:53 Improvements to Python F-strings and string prefixes (#1642) This PR adds support for [string interpolation](https://www.python.org/dev/peps/pep-0498/) (aka. f-strings) and makes the [string prefixes](https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals) part of the string. Resolves #1636. ### Known issues Assumes that strings inside the interpolation expression are 'nice'. So strings with unfortunate numbers of curley braces will cause incorrect highlighting: E.g.: `f"{'}'}"`.
mAAdhaTTah e00b408f 2018-06-26T11:32:31 Remove extraneous class
Brandon Rhodes 334c7bca 2018-06-26T11:21:28 Add Python triple-quoted strings "known failure" (#1449) * Add example of failure in Python parser
Golmote c3ed5b52 2018-03-11T11:11:05 Website: Auto-generate example header with component title, list of aliases and dependencies. `overrideExampleHeader` can be used to generate only the component title.
Golmote bf551967 2017-02-08T23:25:12 Clean up no longer relevant failures in examples
Golmote a1747745 2014-12-22T22:15:56 Add examples for Git, HTTP, LOLCODE, MATLAB, Perl, Python and Ruby