- The General/ level is gone: its 109 files moved up into the folders of the same name, and its topic table is the "Shared topics" section of Features.md. - Accessibility is one folder, docs/Features/Accessibility/, with the Admin Panel's accessibility page in it. - Every folder's main page is README.md (110 X/X.md pages renamed with git mv, five merged with an existing README.md, 26 index pages added for folders that had none), so a folder opened on GitHub shows its page. - The 73 "# Moved" forwarding pages are deleted, with the folders that held only them; every link that went to one goes to its final page. - docs/Features/README.md has the website's "Features in WeKan" overview, each feature linking to its page here. 1,129 Markdown links in 262 files and 352 doc paths in code, tests, compose, snap and release files follow. tests/docsFeaturesLayout.test.cjs fails when General/ or a "# Moved" page comes back, a folder has no README.md, or a relative link in the docs or README.md does not resolve. Thanks to xet7 !
2.2 KiB
Numbered text
What it is
Markdown turns a line that starts with a number and a dot into a numbered list
item, and numbers the items itself. That is handy in descriptions, but a list
title such as 3. Something would become a list item. This page shows how to
keep the number as text, and how the automatic numbering works.
Read more
- Markdown on Wikipedia, and ordered lists in the CommonMark specification.
- Related formatting tips for numbered lists.
- WeKan pages: Markdown, Markdown editor.
How to use it
Keep a number as text. If in List titles you like to create numbered text like this:
3. Something
Write it this way (to escape dot), so it shows correctly:
3\. Something
This happens because of markdown support for autonumbering in input fields.
Let Markdown number a list. For example, if you write numbered list like:
1. Something nice
1. Something cool
1. Something great
It will be autonumbered like this, so you can cut/paste reorder list freely, without manually reordering numbers:
1. Something nice
2. Something cool
3. Something great
For example, when you reorder numbered list like this:
1. Something great
1. Something nice
1. Something cool
It will show automatically numbered like this:
1. Something great
2. Something nice
3. Something cool
How the numbers are calculated
An ordered list starts at the number of its first item and counts up by one
for each following item, whatever numbers those items were written with
(markdown-it follows CommonMark here). 3\. escapes the dot, so the line is not
a list item and the 3 stays as written.
How it works in WeKan
List, swimlane and card titles and descriptions are rendered with the
viewer template through markdown-it
(packages/markdown/src/template-integration.js).
WeKan has no numbering code of its own.