JuliaDocs/Documenter.jl

Option to apply custom CSS class to at-example blocks

Offen

#2.208 geöffnet am 14.08.2023

 (0 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)Julia (513 Forks)batch import
Format: HTMLType: Enhancementhelp wanted

Repository-Metriken

Stars
 (910 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 16T 9h) (3 gemergte PRs in 30 T)

Beschreibung

This is so that you could apply custom CSS styling if you want (e.g. https://github.com/SpeedyWeather/SpeedyWeather.jl/pull/345). I think it could look something like this:

```@example foo; html_class = "my-css-override"

And then HTMLWriter just adds the class to the DOM. The user can then add custom CSS to their docs build to style it.

Implementation is very much up for grabs though.

Contributor Guide