MasterStyles Manual (Markdown + HTML)
MasterStyles is a display and export option for a Markdown or HTML variable. It renders a styled view without rewriting the saved source. Availability of the control depends on the variable and the current interface.
Feature Objective
Use a readable layout for a deliverable while keeping its source available for editing. Review the rendered result before sharing it.
How to Access
- Open a Markdown or HTML deliverable in the Peek Drawer.
- If the MasterStyles view is available, select it from the drawer controls.
- Return to the original view to inspect the source.
The controls may differ by screen and variable type. Do not rely on a keyboard shortcut unless the current interface shows one.
What Happens When You Toggle
MasterStyles on: the renderer converts Markdown to HTML or applies the theme to HTML. Supported layout directives can affect the result. Conversion may fail or take time; retry after checking the source and connection.
MasterStyles off: the original Markdown or HTML view remains available. Display cleanup may hide layout directives without changing the saved variable.
Markdown Authoring Examples
This section is an authoring example, not a guarantee that every template or directive renders in every context.
Frontmatter (Optional, but Best)
---
title: "Executive Summary"
subtitle: "Market signal review"
doc_type: "Document"
hero_tag: "Strategy"
date: "2026-01-19"
layout: two_col
---
Add a heading in the body and inspect the preview. Frontmatter display depends on the renderer and the document body.
Two Columns (Sidebar)
:::sidenotes
### Summary
- Key risks
- Next steps
:::
Cards and Callouts
:::card[Key Insight]
A concise takeaway.
:::
:::callout
A highlighted point.
:::
Grid Layout
:::grid{cols=2}
:::card[Problem]
...
:::
:::card[Impact]
...
:::
:::
Admonitions (Docusaurus Style)
:::note
Baseline context.
:::
:::warning
A caution that matters.
:::
When to Use 1 Column
For a wide table or diagram, try layout: one_col and check the preview at the size in which readers will see it.
Fast Track Checklist
- Add a supported directive such as
:::sidenoteswhen its layout helps the reader. - Open the MasterStyles view and check the output.
- Copy or download only after checking that the content and formatting survived conversion.
Share & Export
Use the copy or download choices shown for the current variable. A rendered HTML export can differ from raw Markdown and can fail if conversion or theme CSS is unavailable. Keep the editable source for later changes.
FAQ
Does the view edit my saved source? The view conversion is separate from editing the variable. Save changes only through the editor.
Why is the sidebar missing? Check that the :::sidenotes block is closed, that the variable is rendered as Markdown, and that conversion succeeded.
What if rendering fails? Inspect the original content, retry when connected, and use the original view or raw export if the styled output is unavailable.