Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Markdown and AsciiDoc Editor Pages #75

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions editors/asciidoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
{.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.
```
13 changes: 10 additions & 3 deletions editors/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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`

Expand All @@ -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}

Expand Down Expand Up @@ -655,4 +662,4 @@ You can specify the correct target by using the decorate syntax `<!-- {tag-name:
<!-- {blockquote:.is-info} -->
```

The `.is-info` class will now correctly be applied to the blockquote element.
The `.is-info` class will now correctly be applied to the blockquote element.