Shared Markdown articles and experiments
Experiments (2)
Article and Experiment use this same Markdown file. Select Experiment on a block to open its interactive workspace. Edit its source locally, then render, copy or download the result
Reusable Markdown
Section titled “Reusable Markdown”This article includes a fragment from src/content/libraries/authoring-demo.md. Editing that library updates every article that imports it
A second article uses the same library with independent local drafts
Frequency map
Section titled “Frequency map”# Fourier analysis
## Sampling
- Sample rate
- Aliasing
## Transforms
- DFT
- FFT
## Applications
- Filtering
- ReconstructionReady when requested
The chart is imported into the Experiment catalog without repeating it here
Mathematics
Section titled “Mathematics”Inline mathematics such as and display mathematics share the normal Markdown pipeline
Return to the mathematics section resolves its explicit heading ID without a separate link definition
Teaching blocks
Section titled “Teaching blocks”Reuse a library
Use {{{! library "@library/authoring-demo.md" !}}} to import experiments without duplicating prose
Use a local .md file as a reusable library
Stable block IDs retain experiment selection when the library order changes
DFT is an abbreviation. Highlighted text, x2 and Alt+J also render from Markdown
- Library
A local Markdown file shared by several articles
Sortable tables
Section titled “Sortable tables”| Sample | Value |
|---|---|
| 2 | 10 |
| 0 | 3 |
| 1 | 7 |
Image viewer
Section titled “Image viewer”![]()
Python API documentation
Section titled “Python API documentation”Declarations and docstrings are extracted from the source file without running it
A small source file demonstrating build-time API documentation.
square(value: float) -> float
Return the input multiplied by itself.
Source format
Section titled “Source format”```mermaid id="flow" title="Flow"flowchart LR Article --> Experiment```
{{{! library "@library/authoring-demo.md" !}}}