diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-05-05 06:00:47 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-05-05 06:00:47 +0000 |
commit | c2cbccd45a2c356e458abc8bbef3193434e8572a (patch) | |
tree | 139208361d500faa96ef568bb9a1f57b06ba93a3 /src/doc.rs | |
parent | 12059fcb1ce8237e5587773043cd442e036531c2 (diff) | |
parent | d8eb94901bd66e77e4366a29b67c71db934fadf9 (diff) | |
download | subplot-c2cbccd45a2c356e458abc8bbef3193434e8572a.tar.gz |
Merge branch 'fix-256' into 'main'
(subplot): Add support for example blocks
Closes #256
See merge request subplot/subplot!274
Diffstat (limited to 'src/doc.rs')
-rw-r--r-- | src/doc.rs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -28,7 +28,9 @@ use log::{error, trace}; /// The set of known (special) classes which subplot will always recognise /// as being valid. -static SPECIAL_CLASSES: &[&str] = &["scenario", "file", "dot", "pikchr", "plantuml", "roadmap"]; +static SPECIAL_CLASSES: &[&str] = &[ + "scenario", "file", "example", "dot", "pikchr", "plantuml", "roadmap", +]; /// The set of known (file-type) classes which subplot will always recognise /// as being valid. |