tangled
alpha
login
or
join now
ansxor.ca
/
markup2
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
1
pulls
pipelines
NEW: \sc (small caps) and \ov (overline)
12Me21
2 years ago
2741477e
822b1764
+22
3 changed files
expand all
collapse all
unified
split
markup.css
parse.js
render.js
+12
markup.css
···
453
453
font-size: 1.125em;
454
454
font-weight: bold;
455
455
}
456
456
+
457
457
+
/*************/
458
458
+
/** Styling **/
459
459
+
/*************/
460
460
+
461
461
+
.M-small-caps {
462
462
+
font-variant: small-caps;
463
463
+
}
464
464
+
465
465
+
.M-overline {
466
466
+
text-decoration: overline;
467
467
+
}
+6
parse.js
···
445
445
} break; case '\\sm': {
446
446
OPEN('small')
447
447
word_maybe()
448
448
+
} break; case '\\sc': {
449
449
+
OPEN('small_caps')
450
450
+
word_maybe()
451
451
+
} break; case '\\ov': {
452
452
+
OPEN('overline')
453
453
+
word_maybe()
448
454
} break; case '\\b': {
449
455
OPEN('bold')
450
456
word_maybe()
+4
render.js
···
299
299
300
300
small: 𐀶`<small>`,
301
301
302
302
+
small_caps: 𐀶`<span class='M-small-caps'>`,
303
303
+
304
304
+
overline: 𐀶`<span class='M-overline'>`,
305
305
+
302
306
/*anchor: function({name}) {
303
307
let e = this()
304
308
e.id = "Markup-anchor-"+name