sintaxis

# Reglas de renderizado — sintaxis básica
# Cada regla: patron: (regex) + html: (reemplazo)
# $1, $2 etc. son grupos capturados
# Puedes modificar, borrar o agregar reglas.
# Puedes crear más nodos tipo:render — todos se combinan.

# Negrita: texto
patron: \*\*(.+?)\*\*
html: <strong>$1</strong>

# Cursiva: texto
patron: \/\/(.+?)\/\/
html: <em>$1</em>

# Encabezado: == texto ==
patron: ^==\s*(.+?)\s*==$
html: <h2>$1</h2>

# Código inline: texto
patron: ([^]+)`
html: <code>$1</code>

# Línea horizontal: ---
patron: ^-{3,}$
html: <hr>

editar raw meta