diff --git a/editors/asciidoc.md b/editors/asciidoc.md index af5b97fa..052f0650 100644 --- a/editors/asciidoc.md +++ b/editors/asciidoc.md @@ -2,7 +2,7 @@ title: AsciiDoc description: Editor published: true -date: 2022-12-24T02:46:14.354Z +date: 2024-11-12T23:20:00.000Z tags: editors editor: markdown dateCreated: 2022-12-24T02:46:14.354Z @@ -20,4 +20,16 @@ AsciiDoc is a lightweight and semantic markup language primarily designed for wr See the [AsciiDoc Language Documentation](https://docs.asciidoctor.org/asciidoc/latest/) for more information. > Note that only a limited set of AsciiDoc features are supported at the moment. -{.is-warning} \ No newline at end of file +{.is-warning} + +# Stylings + +## Admonitions + +In addition to the **5** [standard types](https://docs.asciidoctor.org/asciidoc/latest/blocks/admonitions/) provided by AsciiDoc, Wiki.js extends the syntax to include the **success** blockquote from the [Markdown Editor](../markdown.md). +This extension is implemented as a [Block Processor](https://docs.asciidoctor.org/asciidoctor/latest/extensions/block-processor/) as follows: + +```adoc +[Success] +Success is now. +``` diff --git a/editors/markdown.md b/editors/markdown.md index 3a9e4342..d821f166 100644 --- a/editors/markdown.md +++ b/editors/markdown.md @@ -2,7 +2,7 @@ title: Markdown description: Editor published: true -date: 2024-10-06T23:51:50.138Z +date: 2024-11-12T23:20:00.000Z tags: editors editor: markdown dateCreated: 2019-05-22T02:59:46.078Z @@ -42,7 +42,8 @@ Using a **greater-than** symbol, followed by a space, before each line of text. By adding a class on a separate line, after the blockquote, you can change the look of the blockquote. Note that these stylings are specific to Wiki.js and will fallback to standard blockquote styling in other applications. - Blue: `is-info` -- Green: `is-success` +- Green: `is-success` & `is-tip` +- Purple: `is-caution` - Yellow: `is-warning` - Red: `is-danger` @@ -60,6 +61,12 @@ By adding a class on a separate line, after the blockquote, you can change the l > This is a `{.is-success}` blockquote. {.is-success} +> This is a `{.is-tip}` blockquote. +{.is-tip} + +> This is a `{.is-caution}` blockquote. +{.is-caution} + > This is a `{.is-warning}` blockquote. {.is-warning} @@ -655,4 +662,4 @@ You can specify the correct target by using the decorate syntax ` ``` -The `.is-info` class will now correctly be applied to the blockquote element. \ No newline at end of file +The `.is-info` class will now correctly be applied to the blockquote element.