View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0034124 | mantisbt | markdown | public | 2024-03-17 03:53 | 2024-04-06 11:15 |
Reporter | hotzeplotz | Assigned To | community | ||
Priority | low | Severity | feature | Reproducibility | N/A |
Status | assigned | Resolution | open | ||
Product Version | 2.26.1 | ||||
Target Version | 2.27.0 | ||||
Summary | 0034124: Add syntax highlighting to markdown codeblocks | ||||
Description | Having nice syntax highlighting in codeblocks. As an additional to 0034040 | ||||
Tags | No tags attached. | ||||
As stated by @atrol in this comment, prismjs needs to be tracked to avoid using a third party that is not maintained. |
|
Also take in consideration my remark in PR 1976:
|
|
Have created a PR to show how it could work.
is currently not respected, not yet.
Autoloading works very fine so far. Allowing to pick defaults, means "packaging" of a default file. Will do it later if it seems good in general. |
|
Added, works fine. The themes are reduced to the basic ones, because only the base themes are delivered by "https://cdnjs.com/libraries/prism/1.29.0" |
|