ecmarkup icon indicating copy to clipboard operation
ecmarkup copied to clipboard

add hidden `~` around enums and `_` around aliases for copy-paste

Open michaelficarra opened this issue 2 years ago • 3 comments

Akin to what we do for spec steps. See related https://github.com/tc39/ecmarkup/pull/517.

michaelficarra avatar Aug 30 '23 22:08 michaelficarra

Maybe also | around nonterminals.

bakkot avatar Aug 30 '23 22:08 bakkot

also * around primitives?

michaelficarra avatar Apr 30 '25 21:04 michaelficarra

Ehh, I'm less enthusiastic about primitives. It's not like null or "foo" or +0𝔽 are ambiguous, whereas some of the nonterminals and aliases can look like prose (at least at first glance) without special styling or explicit markers in the text.

bakkot avatar Apr 30 '25 21:04 bakkot