Custom syntax highlighting in quarto doc code chunks

This page summarizes the projects mentioned and recommended in the original post on /r/RStudio

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
  1. pandoc-goodies

    A tresure-box of resources for pandoc, pp and Texts word processor.

    1) Pandoc uses KDE .theme files (JSON) to map a style (color, face, ...) to the various "roles" a piece of your code can have (keyword, operator, property, ...). Check this to learn more about those theme files. You can use this boilerplate as a base to create your custom theme. Refer to this guide for more details about which keys in the .theme file correspond to which parts of the code.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. skylighting

    A Haskell syntax highlighting library with tokenizers derived from KDE syntax highlighting descriptions

    2) Pandoc invokes the skylight Haskell library, which uses XML syntax descriptions to define which tokens/pieces of a given language have which "role". Skylight will parse your code and tag each part of it according to those rules. You can edit those XML files (or create new ones). Check this page for a description of how they work. You'll find the existing KDE XML syntax descriptors here.

  4. syntax-highlighting

    Syntax highlighting Engine for Structured Text and Code.

    2) Pandoc invokes the skylight Haskell library, which uses XML syntax descriptions to define which tokens/pieces of a given language have which "role". Skylight will parse your code and tag each part of it according to those rules. You can edit those XML files (or create new ones). Check this page for a description of how they work. You'll find the existing KDE XML syntax descriptors here.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Latex confusion with Pandoc and Templates

    3 projects | /r/LaTeX | 31 Jan 2021
  • How to Automate Document Workflows for Developers

    1 project | dev.to | 23 Apr 2025
  • Why Is This Site Built with C

    6 projects | news.ycombinator.com | 30 Mar 2025
  • How to convert Markdown to PDF

    2 projects | dev.to | 23 Feb 2025
  • Proposed Perl Changes (part 2)

    7 projects | dev.to | 2 Feb 2025

Did you know that HTML is
the 9th most popular programming language
based on number of references?