From eb444bb1f6ab353fe58ca89feba7e0705874b729 Mon Sep 17 00:00:00 2001 From: Brian Powell Jr Date: Tue, 12 Nov 2024 23:08:45 -0500 Subject: [PATCH 1/2] Update markdown editor information to include changes made in requarks/wiki PR #7390 --- editors/markdown.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/editors/markdown.md b/editors/markdown.md index 3a9e4342..0692e134 100644 --- a/editors/markdown.md +++ b/editors/markdown.md @@ -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. From b427a8e3c28a3c0ed86af02c9eb0aab0522269e1 Mon Sep 17 00:00:00 2001 From: Brian Powell Jr Date: Tue, 12 Nov 2024 23:23:13 -0500 Subject: [PATCH 2/2] update asciidoc editor documentation to include note for changes made in requarks/wiki PR #7390. Updated date for both pages changed --- editors/asciidoc.md | 16 ++++++++++++++-- editors/markdown.md | 2 +- 2 files changed, 15 insertions(+), 3 deletions(-) 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 0692e134..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