diff options
| author | Craig Jennings <c@cjennings.net> | 2025-08-14 11:27:38 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-08-14 11:27:38 -0500 |
| commit | b6c31f289cef27227e5aeaed2b733bcdaa2c2420 (patch) | |
| tree | d39d0c89a2aab9c88d896ad7669239e28ecc0cfd /assets/test-markdown.md | |
| parent | b3e94ae0c5d99e892e7e8e741f016a5da07026a3 (diff) | |
| download | dotemacs-b6c31f289cef27227e5aeaed2b733bcdaa2c2420.tar.gz dotemacs-b6c31f289cef27227e5aeaed2b733bcdaa2c2420.zip | |
chore: remove archive-contents and update test assets
Delete the legacy archive-contents file. Add a new LaTeX test asset
(assets/test-latex.tex). Rename existing test files for consistent
naming: - test.ledger → test-ledger.ledger - test.md →
test-markdown.md - test_misspellings.org → test-misspellings.org
Diffstat (limited to 'assets/test-markdown.md')
| -rw-r--r-- | assets/test-markdown.md | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/assets/test-markdown.md b/assets/test-markdown.md new file mode 100644 index 000000000..0966b3663 --- /dev/null +++ b/assets/test-markdown.md @@ -0,0 +1,87 @@ +Markdown: Syntax +================ + +<ul id="ProjectSubmenu"> + <li><a href="/projects/markdown/" title="Markdown Project Page">Main</a></li> + <li><a href="/projects/markdown/basics" title="Markdown Basics">Basics</a></li> + <li><a class="selected" title="Markdown Syntax Documentation">Syntax</a></li> + <li><a href="/projects/markdown/license" title="Pricing and License Information">License</a></li> + <li><a href="/projects/markdown/dingus" title="Online Markdown Web Form">Dingus</a></li> +</ul> + + +* [Overview](#overview) + * [Philosophy](#philosophy) + * [Inline HTML](#html) + * [Automatic Escaping for Special Characters](#autoescape) +* [Block Elements](#block) + * [Paragraphs and Line Breaks](#p) + * [Headers](#header) + * [Blockquotes](#blockquote) + * [Lists](#list) + * [Code Blocks](#precode) + * [Horizontal Rules](#hr) +* [Span Elements](#span) + * [Links](#link) + * [Emphasis](#em) + * [Code](#code) + * [Images](#img) +* [Miscellaneous](#misc) + * [Backslash Escapes](#backslash) + * [Automatic Links](#autolink) + + +**Note:** This document is itself written using Markdown; you +can [see the source for it by adding '.text' to the URL][src]. + + [src]: /projects/markdown/syntax.text + +* * * + + +If you instead wrote the list in Markdown like this: + + 1. Bird + 1. McHale + 1. Parish + +or even: + + 3. Bird + 1. McHale + 8. Parish + +you'd get the exact same HTML output. The point is, if you want to, +you can use ordinal numbers in your ordered Markdown lists, so that +the numbers in your source match the numbers in your published HTML. +But if you want to be lazy, you don't have to. + +If you do use lazy list numbering, however, you should still start the +list with the number 1. At some point in the future, Markdown may support +starting ordered lists at an arbitrary number. + +List markers typically start at the left margin, but may be indented by +up to three spaces. List markers must be followed by one or more spaces +or a tab. + +To make lists look nice, you can wrap items with hanging indents: + + * Lorem ipsum dolor sit amet, consectetuer adipiscing elit. + Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, + viverra nec, fringilla in, laoreet vitae, risus. + * Donec sit amet nisl. Aliquam semper ipsum sit amet velit. + Suspendisse id sem consectetuer libero luctus adipiscing. + +But if you want to be lazy, you don't have to: + + * Lorem ipsum dolor sit amet, consectetuer adipiscing elit. + Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, + viverra nec, fringilla in, laoreet vitae, risus. + * Donec sit amet nisl. Aliquam semper ipsum sit amet velit. + Suspendisse id sem consectetuer libero luctus adipiscing. + +If list items are separated by blank lines, Markdown will wrap the +items in `<p>` tags in the HTML output. For example, this input: + + * Bird + * Magic |
