Skip to content

Commit

Permalink
Editorial: update ecmarkup
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Works committed Sep 7, 2024
1 parent 0ec0aeb commit 49767d4
Show file tree
Hide file tree
Showing 6 changed files with 291 additions and 176 deletions.
5 changes: 5 additions & 0 deletions assets/ecmarkup.css
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ body.oldtoc {

span[aria-hidden='true'] {
font-size: 0;
white-space: pre;
}

a {
Expand Down Expand Up @@ -222,6 +223,10 @@ var.field {
font: inherit;
color: inherit;
}
/* suppress line break opportunities between `.` and `[[FieldName]]` */
var.field::before {
content: '\2060'
}

var.referenced {
color: inherit;
Expand Down
57 changes: 54 additions & 3 deletions assets/ecmarkup.js

Large diffs are not rendered by default.

14 changes: 12 additions & 2 deletions assets/print.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body {
font-family: Arial;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
background: #fff;
color: #000;
Expand Down Expand Up @@ -50,6 +50,11 @@ emu-figure img {
max-width: none;
}

#toc a,
#toc var {
color: #000;
}

#toc a[href] {
background: #fff;
padding-right: 0.5em;
Expand Down Expand Up @@ -78,6 +83,10 @@ emu-figure img {
display: none;
}

#toc > ol > li {
margin-top: 1ex;
}

#toc,
#spec-container > emu-intro,
#spec-container > emu-annex {
Expand All @@ -102,7 +111,8 @@ emu-table th,
emu-table td,
emu-alg li,
pre,
h1 {
h1,
#metadata-block {
break-inside: avoid;
}

Expand Down
201 changes: 116 additions & 85 deletions index.html

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
},
"license": "MIT",
"devDependencies": {
"@tc39/ecma262-biblio": "^2.1.2722",
"ecmarkup": "^18.3.1"
}
"@tc39/ecma262-biblio": "^2.1.2771",
"ecmarkup": "^19.1.0"
},
"packageManager": "pnpm@9.9.0+sha512.60c18acd138bff695d339be6ad13f7e936eea6745660d4cc4a776d5247c540d0edee1a563695c183a66eb917ef88f2b4feb1fc25f32a7adcadc7aaf3438e99c1"
}
Loading

0 comments on commit 49767d4

Please sign in to comment.