disable spellchecker for 'highlight' shortcodes

This commit is contained in:
Robert Kaussow 2020-06-07 17:42:03 +02:00
parent 9b919b2316
commit d4ee6a6b67
No known key found for this signature in database
GPG key ID: 65362AE74AF98B61
10 changed files with 21 additions and 24 deletions

View file

@ -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 -->

View file

@ -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

View 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 >}}

View file

@ -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 */>}}

View file

@ -4,7 +4,9 @@ Simple wrapper to generate a page Table of Content from a shortcode.
{{</* toc */>}}
```
<!-- spellchecker-disable -->
{{< toc >}}
<!-- spellchecker-enable -->
## Level 1