NodeMapping

The policy layer: which MyST nodes have a native Starlight/MDX equivalent, and how MyST's ~10 admonition kinds collapse onto Starlight's 4 aside types. Everything here is a deliberate choice, which is exactly why it lives in code you own rather than in a generic library.

Properties

Link copied to clipboard

MyST admonition kind -> Starlight

Link copied to clipboard

Node types the emitter renders natively. Anything else -> HTML fallback.

Functions

Link copied to clipboard
fun asideType(kind: String?): String
Link copied to clipboard
fun isNative(type: String): Boolean