Update for latest snekdown 0.33.0

Signed-off-by: trivernis <trivernis@protonmail.com>
main
trivernis 4 years ago
parent cddfb9acbb
commit 549b098c8b
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -48,7 +48,7 @@ Supported types are:
| unpublished | key, author, title | date | | unpublished | key, author, title | date |
| website | key, url | title, author, accessed_at, date | | website | key, url | title, author, accessed_at, date |
&nbsp;
Bibliography can also be defined in a separate TOML file with the following syntax: Bibliography can also be defined in a separate TOML file with the following syntax:
```toml ```toml
@ -66,6 +66,4 @@ publisher = "Snek"
[SD_GITHUB] [SD_GITHUB]
type = "website" type = "website"
url = "https://github.com/trivernis/snekdown" url = "https://github.com/trivernis/snekdown"
``` ```
&nbsp;

@ -190,5 +190,4 @@ a String -> String mapping.
```toml ```toml
[custom_attributes] [custom_attributes]
custom_key1 = "Custom Value" custom_key1 = "Custom Value"
``` ```
&nbsp;

@ -32,6 +32,7 @@ With the provided metadata images can be manipulated:
![Grayscale](img/snek.png)[width=20% grayscale] ![Grayscale](img/snek.png)[width=20% grayscale]
|| `![Grayscale](img/snek.png)[width=20% grayscale]` || `![Grayscale](img/snek.png)[width=20% grayscale]`
![Invert](img/snek.png)[width=20% invert] ![Invert](img/snek.png)[width=20% invert]
|| `![Grayscale](img/snek.png)[width=20% invert]` || `![Grayscale](img/snek.png)[width=20% invert]`

@ -27,8 +27,7 @@ Configurations can be imported with the same syntax.
<[MyGls.toml][type=glossary] <[MyGls.toml][type=glossary]
``` ```
The parser differentiates five different types of imported files. The parser differentiates five different types of imported files:
- `document` - The default import which is just another Snekdown document - `document` - The default import which is just another Snekdown document
- `stylesheet` - CSS Stylesheets that are included when rendering - `stylesheet` - CSS Stylesheets that are included when rendering
- `bibliography` - A file including bibliography - `bibliography` - A file including bibliography

@ -6,7 +6,7 @@
| `**Bold**` | **Bold** | | `**Bold**` | **Bold** |
| `~~Striked~~` | ~~Striked~~ | | `~~Striked~~` | ~~Striked~~ |
| `_Underlined_` | _Underlined_ | | `_Underlined_` | _Underlined_ |
| \`Monospace\` | `Monospace ` | | `\`Monospace\`` | `Monospace ` |
| `:emoji:` | :snake: | | `:emoji:` | :snake: |
| `§[#0C0]Colored§[]` | §[#0C0] Colored §[] | | `§[#0C0]Colored§[]` | §[#0C0] Colored §[] |

@ -19,7 +19,6 @@ $$$
$$$ $$$
A = [[1, 2],[3,4]] A = [[1, 2],[3,4]]
$$$ $$$
&nbsp;
Snekdown uses [MathJax](https://www.mathjax.org/) for improving the output of rendered MathML expressions. Snekdown uses [MathJax](https://www.mathjax.org/) for improving the output of rendered MathML expressions.
Browsers like Firefox support rendering of MathML directly so it's not a requirement to use it there. It can be turned off with the feature setting `include_mathjax`. Browsers like Firefox support rendering of MathML directly so it's not a requirement to use it there. It can be turned off with the feature setting `include_mathjax`.

@ -2,7 +2,6 @@
Metadata or element attributes are a way to change the behaviour of some Metadata or element attributes are a way to change the behaviour of some
elements. elements.
The syntax for metadata is the same syntax used for defining keys of bibliography entries The syntax for metadata is the same syntax used for defining keys of bibliography entries
in the document. in the document.
@ -24,6 +23,7 @@ Boolean
[key] equals [key=true] [key] equals [key=true]
``` ```
There are some elements that support metadata: There are some elements that support metadata:
``` ```
@ -41,5 +41,4 @@ Set options for placeholders
Set the type of an import Set the type of an import
<[style.css][type=stylesheet] <[style.css][type=stylesheet]
``` ```
&nbsp;

@ -23,7 +23,7 @@ The most commonly used placeholders are:
| `[[datetime]]` | Inserts the current date and time | | `[[datetime]]` | Inserts the current date and time |
| `[[author]]` | Inserts the author of the document | | `[[author]]` | Inserts the author of the document |
| `[[title]]` | Inserts the title of the document | | `[[title]]` | Inserts the title of the document |
&nbsp;
Additionally all entries defined in the `custom_attributes` section of the configuration Additionally all entries defined in the `custom_attributes` section of the configuration
can be inserted as placeholders. can be inserted as placeholders.

Loading…
Cancel
Save