Categories
Add a category to group related wiki pages.
Basic Category Usage
Add a page to a category:
{{{#category Programming }}}Use an ordinary link to open a category page without declaring membership:
[[category:Programming | Programming category]]Multiple Categories
A page can belong to multiple categories:
{{{#category Technology }}}
{{{#category Programming }}}
{{{#category Documentation }}}
{{{#category Tutorials }}}Category Names
Bare names select the root Category namespace. Names can contain spaces and escaped special characters:
{{{#category Programming Languages }}}
{{{#category Web Development }}}
{{{#category C++ Programming }}}Use the shared document reference syntax for a stable UUID or exact parent scope:
{{{#category id:019a0000-0000-7000-8000-000000000001 }}}
{{{#category name:category:019a0000-0000-7000-8000-000000000002:Programming }}}The host must resolve membership to an actual Category document. An ordinary link to a category page remains separate from membership.
Categories in Context
Place category declarations at the end of a page:
# My Programming Tutorial
This is a tutorial about programming...
## Code Examples
``` #lang="javascript"
console.log("Hello, World!");
```
## Conclusion
That concludes our tutorial.
{{{#category Programming }}}
{{{#category JavaScript }}}
{{{#category Tutorials }}}
{{{#category Web Development }}}Category Organization
Use several categories to classify a document by topic:
// For a Python tutorial page
{{{#category Programming Languages }}}
{{{#category Python }}}
{{{#category Tutorials }}}
// For a web framework article
{{{#category Web Development }}}
{{{#category Frameworks }}}
{{{#category Python }}}
{{{#category Django }}}Important Notes
- Categories do not support parameters
- The body inside
{{{#category ...}}}selects one document reference - Place category declarations at the end of the document
- Category elements are collected during preprocessing for indexing and organization
Host responsibilities
The analyzer reports category membership in its direct relations. The host checks current access and maintains indexes, category pages, filtering, and navigation. SevenMark does not create those indexes itself.
NamuMark category syntax sugar
The parser maps the NamuMark form [[분류:...]] to the same category AST:
[[분류:Programming]]
[[분류:Spoiler#blur]]The parser accepts #blur and removes it from the stored title. To link to a category page without declaring membership, use a leading colon:
[[:분류:Programming|Programming category]]