JuliaDocs/Documenter.jl
在 GitHub 查看Option to apply custom CSS class to at-example blocks
Open
#2,208 创建于 2023年8月14日
Format: HTMLType: Enhancementhelp wanted
描述
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.