1 Draft Annotations Demo
This demo showcases the draft fenced block — a conditional annotation that only appears when compiling with -D DRAFT.
Draft 1.1
This is a draft note in the first section. It provides context for reviewers about what needs attention here. The numbering is section-scoped: Draft 1.1.
Some regular content between draft notes.
Draft 1.2
A second draft note in the same section. This one reminds the author to verify data sources. Numbered as Draft 1.2.
2 Methodology
The methodology section describes the research approach.
Draft 2.1
TODO: Add a citation for the statistical framework used in this analysis. Check with the co-author before final submission.
Draft 2.2
REVIEW: The sample size justification needs strengthening. Consider adding a power analysis.
3 Results
Key findings are presented below.
Draft 3.1
Note to self: the chart in this section needs updated data from the Q3 report. Current numbers are from Q2.
3.1 Discussion
This subsection discusses implications.
Draft 3.2
FEEDBACK: Reviewer #2 suggested expanding the discussion on limitations. Add a paragraph about generalizability.
4 Requirements
Draft notes also work inside lists, aligned with their context.
- 1. The system shall support user authentication.
Draft 4.1
TODO: Clarify which protocols are supported — OAuth2, SAML, or both?
- 2. The system shall log all access events.
- 1) Access logs shall include timestamps.
Draft 4.2
REVIEW: Should we also log IP addresses? Check GDPR/LGPD compliance before deciding.
- 2) Logs shall be retained for 5 years.
- 3. The system shall encrypt data at rest.
Draft 4.3
NOTE: Confirm AES-256 requirement with the security team. Draft spec says AES-128.
5 Shorthand Syntax
The \draft{...} command provides a quick single-line alternative to the fenced block syntax.
Draft 5.1
This draft note uses the shorthand syntax instead of triple backticks.
Both syntaxes produce identical output and share the same numbering sequence.
Draft 5.2
Quick reminder: update the changelog before the next release.
Draft 5.3
FIXME: The error handling in the auth module needs review.
6 Cross-References in Drafts
Draft content can reference any labeled section in the document.
Draft 6.1
Cross-ref check: ensure
sec. 2 cites the statistical framework, and
sec. 3 includes Q3 data. The requirements in
sec. 4 also need legal review.
Draft 6.2
Quick xref: verify consistency between
sec. 2 and
sec. 3.