Wiki source code of Write a Page in Markdown
Last modified by Vincent Massol on 2026/09/28 14:52
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
![]() |
5.1 | 1 | Write the content of a wiki page in [[Markdown>>doc:documentation.extensions.user.markdown.WebHome]] instead of XWiki syntax, once an administrator has [[installed and enabled the Markdown syntax>>doc:documentation.extensions.admin.markdown.install.WebHome]]. |
| 2 | |||
| 3 | 1. Click "Create", enter the page title and click "Create". | ||
![]() |
11.1 | 4 | 1. Select "CommonMark Markdown 1.2" in the "Page syntax" field of the editor, then click "No" in the "Syntax Conversion" dialog.((( |
| 5 | {{image reference="create-page-syntax.png" alt="Syntax Conversion dialog with the No button highlighted, next to the Page syntax field set to CommonMark Markdown 1.2" size="extra"/}} | ||
![]() |
5.1 | 6 | ))) |
| 7 | 1. Click "Source" in the editor toolbar and write the content in Markdown, using the [[Markdown 1.2 Syntax>>doc:documentation.extensions.user.markdown.syntax.WebHome]]. For example:((( | ||
| 8 | {{code language="none"}} | ||
| 9 | # Getting Started | ||
| 10 | |||
| 11 | Welcome to the team space. | ||
| 12 | |||
| 13 | * Read the [[onboarding guide|Sandbox.WebHome]] | ||
| 14 | * Ask your questions in the chat | ||
| 15 | |||
| 16 | {{info}} | ||
| 17 | Meetings take place every Monday. | ||
| 18 | {{/info}} | ||
| 19 | {{/code}} | ||
| 20 | |||
| 21 | {{image reference="markdown-page-edit.png" alt="Editor in Source mode showing the Markdown content of the page" size="extra"/}} | ||
| 22 | ))) | ||
| 23 | 1. Click "Save & View". The page displays the rendered content.((( | ||
| 24 | {{image reference="markdown-page-view.png" alt="Rendered page with a heading, a bulleted list with a link and an information box" size="extra"/}} | ||
| 25 | ))) |
