Differences From
Artifact [ad59e4c740]:
20 20 ['<->'] = '↔';
21 21 ['-->'] = '→';
22 22 ['<--'] = '←';
23 23 ['==>'] = '⇒';
24 24 ['<=>'] = '⇔';
25 25 ['<=='] = '⇐';
26 26 ['=/='] = '≠';
27 + ['::='] = '⩴';
28 + [':='] = '≔';
27 29 ['---'] = '⸺';
28 30 };
29 31
30 32 {
31 33 ['-:-'] = '÷';
32 34 ['--'] = '—';
33 35 ['(C)'] = '©';
................................................................................
138 140 ct.ext.install {
139 141 id = 'transmogrify';
140 142 version = ss.version {0,1; 'devel'};
141 143 contributors = {{name='lexi hale', handle='velartrill', mail='lexi@hale.su', homepage='https://hale.su'}};
142 144 default = true; -- on unless inhibited
143 145 slow = true;
144 146 hook = {
147 + doc_macro_expand_span = function(job, ir, block)
148 + enterspan(block.origin, ir)
149 + end;
145 150 doc_meddle_ast = function(job)
146 151 for n, sec in pairs(job.doc.secorder) do
147 152 if sec.kind=='ordinary' or sec.kind=='quote'
148 153 or sec.kind=='footnote' then
149 154 for i, block in pairs(sec.blocks) do
150 155 if type(block.spans) == 'table' then
151 156 enterspan(block.origin, block.spans)