bootstraparse/src/bootstraparse/templates/bootstrap.yml

22 lines
787 B
YAML

structural_elements:
div: ["<div{optionals}>", "</div>"]
article: ["<article{optionals}>", "</article>"]
aside: ["<aside{optionals}>", "</aside>"]
section: ["<section{optionals}>", "</section>"]
header: ["<h{header_level}{optionals}>", "</h{header_level}>"]
display: ["<p class='display-{display_level}'{optionals}>", "</p>"]
inline_elements:
link: ["<a href='{url}'>", "</a>"]
em: ["<em{optionals}>", "</em>"]
strong: ["<strong{optionals}>", "</strong>"]
underline: ["<u{optionals}>", "</u>"]
strikethrough: ["<s{optionals}>", "</s>"]
# future: small
custom_0: ["<span{optionals}>", "</span>"]
table:
table: ["<table{optionals}>", "</table>"]
t_head: ["<th{col_span}>", "</th>"]
t_row: ["<tr{col_span}>", "</tr>"]
t_cell: ["<td{col_span}>", "</td>"]