Emmit Quick Reference

泓熠 (HY)

Copyright © 2026, 泓熠 (HY).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.

Default Hot Keys

Ctrl+y & .

Grammar


! <!-- Generage basic structure. -->
ul>li <!-- Sub tags -->
li*5 <!-- Some same tags -->
dt+dd <!-- Some diffierent tags -->
code.python <!-- The "class" Attribute of a Tag -->
div{hello} <!-- The content in a tag. -->
a[href=https://example.net] <!-- The specific value of a specific attribute -->
(dt+dd)*2 <!-- Operation precedence. -->

			

Examples


table > ((thead > tr > th*2) + tbody > (tr > td*2)*3)

<!-- Result is below -->
<table>
	<thead>
		<tr>
			<th></th>
			<th></th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td></td>
			<td></td>
		</tr>
		<tr>
			<td></td>
			<td></td>
		</tr>
		<tr>
			<td></td>
			<td></td>
		</tr>
	</tbody>
</table>