Comments
Lines that start with // (two slashes followed by a space) are stripped from the description before any other AFL processing happens. They never reach the rendered output and are invisible to visitors.
Comments are stage 1 in the processing order, which means they land before directives, URL extraction, and format detection.
Example
// reminder: confirm venue before publishing
// TODO: add the flyer image once design lands
Join us for the annual fundraiser at City Park.
#already:tag:fundraiser
#already:image:https://example.com/flyer.pngVisitors see only the third line and the directive-rendered tag/image card. The first two lines never make it past stage 1.
What comments are good for
- Internal notes for calendar editors. Reminders, draft language, references — things only your team should see.
- Disable a directive without deleting it. Comment out a
#already:line while you debug, A/B test, or wait on assets:// #already:featured // #already:image:https://example.com/old-flyer.png - Leave TODOs for yourself.
// TODO: confirm with venueis a low-friction way to keep editorial state in the description without a separate tracker.
Rules
- Must start at the beginning of a line. A line starts after a newline, a
<br>or a block-level tag; leading whitespace before//is allowed, and anything else is not. - A space is required after
//—// noteis a comment;//noteis not. - Mid-line
//is not a comment —visit us // open dailyrenders as-is. - URLs are never affected.
https://example.comand protocol-relative//example.comare safe — the URL detector and the comment detector don't overlap. - Lines are delimited by
\n,\r\n, an HTML<br>tag, or a block-level tag such as<p>,</p>,<div>or<li>. Google Calendar's rich-text editor writes<br>between lines, so a//comment right after a<br>is a comment too, and it is removed together with that<br>. - A comment that fills a paragraph or list item takes the element with it.
<p>A</p><p>// note</p><p>B</p>renders as<p>A</p><p>B</p>, and a wrapper the element alone filled goes too. - The already.events feed removes the same comments. It applies these rules to the description's HTML before turning it into text, so a comment in a list item, a table cell or between two blocks is gone from both, and
//inside inline formatting (<p><b>// note</b></p>) stays visible on both. - A comment ends at the next newline,
<br>, block-level tag, or closing tag that was not opened inside it.// note<br>Real textrenders asReal text.