Code
A print-safe wrapper for native pre/code content with controlled monospace typography and wrapping that prevents long lines from clipping the page.
Capability note. Syntax highlighting is application-owned. Essential meaning must not depend on color alone.
Folio markup
Long markup remains selectable text and wraps instead of creating page overflow.
On narrow screens the embedded example uses a screen-only inspection layout. Printing and the standalone document keep Folio's physical print rules.
View HTML
<ef-print-code>
<pre><code><ef-print-section break-before='page'>...</ef-print-section></code></pre>
</ef-print-code>
F# example
Folio does not require a client-side syntax highlighter.
On narrow screens the embedded example uses a screen-only inspection layout. Printing and the standalone document keep Folio's physical print rules.
View HTML
<ef-print-code>
<pre><code>type PrintIntent = Portable | ChromiumMargin | Enhanced</code></pre>
</ef-print-code>
Long command
pre-wrap and overflow wrapping protect physical print width.
On narrow screens the embedded example uses a screen-only inspection layout. Printing and the standalone document keep Folio's physical print rules.
View HTML
<ef-print-code style='--ef-print-code-font-size:.82em'>
<pre><code>npx --package=@echelon-foundry/repository-operating-system ros verify --json</code></pre>
</ef-print-code>