File tree Expand file tree Collapse file tree 1 file changed +44
-16
lines changed
Expand file tree Collapse file tree 1 file changed +44
-16
lines changed Original file line number Diff line number Diff line change @@ -823,33 +823,61 @@ This content can be styled with a border
823823:::
824824```
825825
826- ### Sidebar
826+ ### Spans
827827
828- ::::: {#special .sidebar }
828+ [ This is * some text * ] {.class key="val" }
829829
830- ::: {.warning}
831- Here is a warning.
832- :::
830+ ``` md
831+ [This is *some text*]{.class key="val"}
832+ ```
833833
834- More content.
835- :::::
834+ <span class =" custom-span " >This is a custom span.</span >
836835
837836``` md
838- ::::: {#special .sidebar}
837+ <span class="custom-span">This is a custom span.</span>
838+ ```
839839
840- ::: {.warning}
841- Here is a warning.
842- :::
840+ ### Span Styling
841+
842+ #### Small Caps
843843
844- More content.
845- :::::
844+ [ smallcaps] {.smallcaps}
845+
846+ ``` md
847+ [smallcaps]{.smallcaps}
846848```
847849
848- ### Spans
850+ #### Underline
849851
850- [ This is * some text * ] {.class key="val" }
852+ [ underlined ] {.underline }
851853
852- <span class =" custom-span " >This is a custom span.</span >
854+ ``` md
855+ [underlined]{.underline}
856+ ```
857+
858+ #### Highlight
859+
860+ [ highlighted] {.mark}
861+
862+ ```
863+ [highlighted]{.mark}
864+ ```
865+
866+ ### Order of Attribute
867+
868+ The order of attribute for divs and spans follow rules defined in the [ pandoc] ( https://pandoc.org/MANUAL.html#divs-and-spans ) documentation.
869+
870+ #### Good
871+
872+ ``` md
873+ [Good]{#id .class key="val"}
874+ ```
875+
876+ #### Bad
877+
878+ ``` md
879+ [This is *some text*]{.class key="val"}
880+ ```
853881
854882## Listing
855883
You can’t perform that action at this time.
0 commit comments