Skip to main content

Code Block — converter mapping

Source code (universal fallback)code_block. This page shows the recognizer rule and every option on the shortcode, with how the converter fills it — so you can see at a glance which options are mapped, which are reproduced via CSS, and which are left for manual editing.

Recognizer

Priority99
Recognizercode (universal fallback)
Matches whenAnything the converter can’t map to a more specific element — the genuinely bespoke markup. This is the universal fallback, so nothing is ever lost.
Becomescode_block
Recognizer block shape{ html }
Fallback— (this is the fallback).

Holds the source markup verbatim in the code field (rendered as HTML, not shown as source). Everything a hand-fix would touch lands here; a systematic fallback is a signal to teach the converter a new recognizer so it becomes a native element next time.

Option coverage

1/9 options mapped natively (11%) — 🟡 0 via CSS · ⚠️ 0 gaps (derivable, not yet) · ⚪ 8 default · ⚙️ 1 auto.

OptionTabTypeStatusMapped from / note
codeContentcode-editor✅ Nativederived-from verbatim source HTML (SVG-inlined, RWD-shimmed, table-preset-wrapped)
render_as_codeContentswitch⚪ Unmappednot set by mapper (verbatim-HTML block, not a code snippet)
beautifyContentswitch⚪ Unmappednot set by mapper
code_languageContentselect⚪ Unmappednot set; this node is used for verbatim HTML rendering, not syntax-highlighted code, so a source language-* class is not consulted
text_colorStylingpredefined-colors-color-picker-compact⚪ Unmappednot set by mapper
bg_colorStylingpredefined-colors-color-picker-compact⚪ Unmappednot set by mapper
font_size_presetStylingselect⚪ Unmappednot set by mapper
animation · gsap_motion · interaction · text_effect · scroll_* · flip_card · motion_path · confetti · …Animationsmulti-picker⚪ UnmappedDefault — Animation Engine effects (no source mapping)
spacing · css_id · css_class · custom_css · element_position · element_overflow · dc_*Advancedtext / code-editor⚪ UnmappedDefault — outer spacing + per-instance advanced fields, set by hand
unique_id · custom_attrs · responsive_hideAdvancedgroup⚙️ AutoPlumbing — generated / not set

Status legend

  • Native — Set as the native option from the source.
  • 🟡 Via CSS — Reproduced via scoped CSS / the styler; the native option is left empty (candidate to promote to a native mapping).
  • ⚠️ Gap — A source signal exists, but the converter does not derive this yet — a mapping worth adding (a real TODO, not a limitation).
  • Unmapped — Left at default — no reliable source signal, or an intentional/UnysonPlus-specific choice with nothing to translate.
  • ⚙️ Auto — Plumbing (unique id, custom attrs). Excluded from the coverage percentage.

← Back to Element Mapping