Embedded CoCalc Examples
These embedded example source files are a set of YAML documents.
Each one of them is a list of individual "documents", where the delimiter is the usual "---".
The are composed of:
Header, consisting of the language specification and the category. They are fixed for the entire file. The category definition has two levels and is either a list of strings or a single string with a "/" as delimiter. Together with the overall language, categories must be unique. Inside a yaml file, the category can change (only once, though, due to the overall uniqueness constraint)
The actual entries consists of
title
,descr
, andcode
. Wherecode
is best written with "|" for verbatim text anddescr
using ">" for multi-line flow-text. Feel free to use Markdown for thedescr
content. If there are errors with the title, enclose it in quotes. All entries per category retain their ordering!Example:
License
Creative Commons: Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)