disable spellchecker for 'highlight' shortcodes
This commit is contained in:
parent
9b919b2316
commit
d4ee6a6b67
10 changed files with 21 additions and 24 deletions
|
@ -7,5 +7,7 @@ Buttons are styled links that can lead to local page or external link.
|
|||
|
||||
## Example
|
||||
|
||||
<!-- spellchecker-disable -->
|
||||
{{< button relref="/" >}}Get Home{{< /button >}}
|
||||
{{< button href="https://github.com/xoxys/hugo-geekdoc" >}}Contribute{{< /button >}}
|
||||
<!-- spellchecker-enable -->
|
||||
|
|
|
@ -23,7 +23,9 @@ Attributes:
|
|||
{{</* include file="config.yaml" language="yaml" options="linenos=table,hl_lines=5-6,linenostart=100" */>}}
|
||||
```
|
||||
|
||||
<!-- spellchecker-disable -->
|
||||
{{< include file="config.yaml" language="yaml" options="linenos=table,hl_lines=5-6,linenostart=100">}}
|
||||
<!-- spellchecker-enable -->
|
||||
|
||||
### Include *.md file
|
||||
|
||||
|
@ -38,7 +40,9 @@ If you include markdown files that should not get a menu entry, place them outsi
|
|||
{{</* include file="static/includes/table.md.part" markdown="true" */>}}
|
||||
```
|
||||
|
||||
<!-- spellchecker-disable -->
|
||||
{{< include file="static/includes/table.md.part" markdown="true" >}}
|
||||
<!-- spellchecker-enable -->
|
||||
|
||||
### Include *.html file
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ sequenceDiagram
|
|||
|
||||
<--->
|
||||
|
||||
<!-- spellchecker-disable -->
|
||||
{{< mermaid class="text-center" >}}
|
||||
sequenceDiagram
|
||||
Alice->>Bob: Hello Bob, how are you?
|
||||
|
@ -33,5 +34,6 @@ sequenceDiagram
|
|||
Bob->>Alice: Thanks for asking
|
||||
end
|
||||
{{< /mermaid >}}
|
||||
<!-- spellchecker-enable -->
|
||||
|
||||
{{< /columns >}}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
The toc-tree shortcode will generate a Table of Content from a section file tree of your content directory. The root of the resulting ToC will be the page on which you define the shortcode.
|
||||
The `toc-tree` shortcode will generate a Table of Content from a section file tree of your content directory. The root of the resulting ToC will be the page on which you define the shortcode.
|
||||
|
||||
```tpl
|
||||
{{</* toc-tree */>}}
|
||||
|
|
|
@ -4,7 +4,9 @@ Simple wrapper to generate a page Table of Content from a shortcode.
|
|||
{{</* toc */>}}
|
||||
```
|
||||
|
||||
<!-- spellchecker-disable -->
|
||||
{{< toc >}}
|
||||
<!-- spellchecker-enable -->
|
||||
|
||||
## Level 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue