Skip to content

Some more enhancements to Prism based syntax highlighting #862

Description

@sivaraam

Right now the bundled Prism file to support syntax highlighting (cf. #490) supports these: markup (covering html, xml, svg, mathml, ssml, atom, rss), CSS, C-like, JavaScript (js), C, C++ (cpp), Bash (sh, shell), Diff, Git, Go, JSON (webmanifest), Makefile, Perl, Python (py), Ruby (rb), and YAML (yml).

The following plugins are also bundled Autoloader and File Highlight.

I think we might be able to strip the supported languages significantly to only those that are used in the repository. This would reduce the bundle download size.

A few other things to check:

  • It seems the Prism header from the artifact downloaded from the website has been removed. I think we can retain that.
  • We might need to check if it is possible to achieve the same syntax highlight in the e-mail version of the newsletter @mjaix

cc @Amrit-raj50

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions