This plugin will allow you to format inline codeblocks to better stand out on the page. For example, you may want to have all inline codeblocks that start with "IMPORTANT" to have a red background like this.
To add an Inline Admonition to your note, first [create a new Inline Admonition](#Creating a new Inline Admonition) of the desired type.
Then add an
inline codeblock
with the appropriate trigger text. For example, a [Prefix Inline Admonition](#Prefix Type) with a prefix of IMPORTANT
will
trigger when an inline codeblock starts with "IMPORTANT", like this:
Normal text `IMPORTANT - dont forget the milk!` and some more normal text
Open the "Inline Admonition" settings and click "Create New Inline Admonition" at the top to bring up a Modal to configure a new Inline Admonition.
The Inline Admonition "Type" defines what triggers the codeblock to convert into an Inline Admonition. Current supported Types are:
Prefix Inline Admonitions trigger when a codeblock starts with specific text.
Settings
Prefix
defines the text at the start of the codeblock to trigger the Inline Admonition.Hide prefix text
- if enabled, the triggering prefix text will not show in the Inline Admonition.Suffix Inline Admonitions trigger when a codeblock ends with specific text.
Settings
Suffix
defines the text at the end of the codeblock to trigger the Inline Admonition.Hide suffix text
- if enabled, the triggering suffix text will not show in the Inline Admonition.Contains Inline Admonitions trigger when a codeblock contains specific text anywhere within it.
Settings
contains
defines the text within the codeblock to trigger the Inline Admonition.See the changelog for changes
npm i
to install depsnpm run dev
to build and watchUpload the files manifest.json
, main.js
, styles.css
as binary attachments