File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ class BaseAdmonition extends Directive {
2828 block : true
2929 } )
3030 adToken . attrSet ( "class" , "admonition" )
31- if ( this . title ) adToken . attrJoin ( "class" , this . title . toLowerCase ( ) )
31+ if ( this . title )
32+ adToken . attrJoin ( "class" , this . title . toLowerCase ( ) . replace ( / / g, "" ) )
3233 if ( data . options . class ) {
3334 adToken . attrJoin ( "class" , data . options . class . join ( " " ) )
3435 }
Original file line number Diff line number Diff line change @@ -22,6 +22,18 @@ Some *content*
2222</aside >
2323.
2424
25+ admonition
26+ .
27+ ``` {seealso}
28+ See other things here!
29+ ```
30+ .
31+ <aside class =" admonition seealso " >
32+ <header class =" admonition-title " >See Also</header >
33+ <p >See other things here!</p >
34+ </aside >
35+ .
36+
2537nested-admonition
2638.
2739```` {note} This is a note
You can’t perform that action at this time.
0 commit comments