Markdown Examples
This page demonstrates various Markdown formatting options available in NextWiki.
Headings
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Text Formatting
This text is italic.
This is also italic.
This text is bold.
This is also bold.
This text is bold and italic.
This is also bold and italic.
This text is strikethrough.
Lists
Unordered List
- Item 1
- Item 2
- Sub-item 2.1
- Sub-item 2.2
- Item 3
Ordered List
- First item
- Second item
- Third item
- Sub-item 3.1
- Sub-item 3.2
Links
Visit the NextWiki GitHub Repository
Go to Getting Started (Example of a relative link)
Blockquotes
This is a blockquote. It's useful for quoting text from another source.
Blockquotes can be nested.
Styled Blockquotes (Admonitions)
NextWiki supports styled blockquotes, similar to admonitions in Wiki.js, by adding a class after the quote:
ℹ️ This is an informational message.
⚠️ This is a warning message.
💡 This is a tip or suggestion.
(Note: The available classes like .is-info
, .is-warning
, .is-tip
depend on the configured CSS.)
Code
Inline code
example.
// Code block example
function greet(name) {
console.log(`Hello, ${name}!`);
}
greet('World');
Horizontal Rule
Use three or more hyphens, asterisks, or underscores:
Styled Link Lists
You can apply styles to lists of links using a class identifier:
(Note: The appearance depends on the CSS rules for .links-list
.)