fix: remove table formatting from github gists (#416)
* fix: fix CSS issue with gist embeds * Addressing PR comments * remove newline * simplify selector and add example * fix spellcheck * fix markdownlint Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
This commit is contained in:
parent
f1457b86fa
commit
61ef82104e
4 changed files with 19 additions and 5 deletions
|
@ -83,13 +83,25 @@ echo "Hello World"
|
|||
|
||||
**Example:**
|
||||
|
||||
<!-- markdownlint-disable -->
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
<!-- markdownlint-capture -->
|
||||
<!-- markdownlint-disable -->
|
||||
{{< highlight Shell "linenos=table" >}}
|
||||
# some code
|
||||
echo "Hello World"
|
||||
{{< /highlight >}}
|
||||
<!-- markdownlint-restore -->
|
||||
<!-- prettier-ignore-end-->
|
||||
|
||||
<!-- markdownlint-enable -->
|
||||
## Gist Shortcode
|
||||
|
||||
The Gist shortcode is a built-in Hugo shortcode to load GitHub gists. For details usage information please check the Hugo [documentation](https://gohugo.io/content-management/shortcodes/#gist).
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```markdown
|
||||
{{</* gist spf13 7896402 */>}}
|
||||
```
|
||||
|
||||
**Example:**
|
||||
|
||||
{{< gist spf13 7896402 >}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue