Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mk12 committed Jun 30, 2024
1 parent 1837877 commit eb91dec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- text: 1.1, 1.2, 1.3, 2, 2.1, 2.2, 2.3, 2.4, 2.5, 3.1
- lecture: 1a, 1b, 2a, 2b, 3a, 3b, 4a, 4b, 5a
- exercise: 1.1, 1.2, 1.3, 2.1, 2.2, 2.3, 2.4, 2.5, 3.1*
- MathML
x thought quote stuff was wrong
x e.g. `(foo ,3) right now the comma is quoted-yellow color (ok)
x thought (quasiquote foo (unquote 3)), having the "(unquote" yellow was wrong ... but to truly fix that is very hard because say it's 3 quasiquotes deep and only 2 unquotes, then they should stay yellow. Just going to leave as is because I don't use unquotes like that anyway.
Expand Down
2 changes: 1 addition & 1 deletion tools/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ async function renderSvgbob(number: number, diagram: string): Promise<string> {
}
return `<defs>${defs.join("")}</defs>`;
})
// Scaling up to 16px results in all text being slighlty too far right.
// Scaling up to 16px results in all text being slightly too far right.
.replace(/<text x="([0-9.]+)"/g, (_, x) => `<text x="${x - 2}"`);
const opt = optimize(unopt, {
multipass: true,
Expand Down

0 comments on commit eb91dec

Please sign in to comment.