This is a sentence with a footnote1.
Overview
This file is a comprehensive testbed for the custom Org → GFM Lua filter. It exercises:
- Metadata capture via top level
#+KEY: VALUElines go to markdown yaml frontmatter - Internal Org links (converted from
spurious-linkspans to GFM links) - Accurate Heading slugs with special characters handling
- Named tables and code blocks (
#+NAME) → HTML anchor spans - Code-block attributes (
:mdparams,:lang,:name, etc.) passed through as Markdown fence attributes - Org exports (
#+BEGIN_EXPORT markdown,#+begin_export html) literally to the markdown.
Use this file as a regression test when changing the filter.
Basic Internal Links
- See go to section two and then return via the back links below.
- See the table. Tables with Numbering
Here is a link back to the first section:
A link without an explicit description (description should default to the target text):
With out title Section One
Section One
A reciprocal link back to itself (useful for testing idempotence):
Slug & Heading Tests
We now test headings and links that stress slug generation.
Intro & Usage
The following link target includes punctuation and mixed case:
So this C++ Memory Model
C++ Memory Model
Heading to test plus signs and spaces. The link above should correctly point here.
My heading (v2)
A heading with parentheses and version information.
Back link to Intro & Usage:
Tables and Named Anchors
This link should resolve to the named table below:
Tables with Numbering
Named table (tests #+NAME → <span id="..."> anchor, with complex
name):
| Header 1 | Header 2 |
|---|---|
| Data 1 | Data 2 |
Named code block (also testing #+NAME anchors for CodeBlock):
print("Hello")A reference link that should point to the table anchor above:
Testing Heading Tags and folds
Heading with attach tag ATTACH
This heading’s tag will not be visible.
Exported Markdown & HTML Snippets
The following block is exported as raw Markdown inside Org. It should pass through untouched and be rendered as-is in Markdown output.
Example Blocks
An example block showing a text table from a tool
Raw HTML export (should be passed through untouched):
The ‘toml’ package isn’t installed. To load settings from pyproject.toml or ~/.jupysql/config, install with: pip install toml
Footnotes
-
This is the footnote content. ↩
