Firefly Semantics Corporation
Firefly Semantics Corporation
I wrote a quick one. I can contribute this / rewrite in Typescript if need be: ``` async function replaceLatexWithSvg(s) { var cursorIndex = 0; const protoItems = find.findMath([s]); const...
> (we envisioned, for example, handling a Markdown document). That's exactly what I'm doing :). For example I may have a document like this: ``` --- title: MAD Forecast Error...
This is the entire utility: ``` /************************************************************************* * * Uses MathJax v3 to convert a TeX string to an SVG string. * * ---------------------------------------------------------------------- * * Copyright (c) 2020 The...
I have that as a separate package locally. That way I can just `npm i @fireflysemantics/tex2svg` and use the functions in various markdown projects. If it were part of MathJax...
Just a note ... One idea that could have also made this work is to use a Web Component / Custom Element to render the math. The reason I needed...
It stopped working for me completely after upgrading to Monterey ... Any ideas?
Ok I figured it out. The options for the chart have to be set in `ngOnInit` otherwise the chart will not render. I'll leave the issue open since it's a...
@augustjk if I remember correctly the publish script for lit publishes all the contents of the root directory. One idea would be to ceate a publish directory with all the...
Another thought is ... Currently the `checksize` script looks like this: ``` "checksize": "rollup -c ; cat fs-link-preview.bundled.js | gzip -9 | wc -c ; rm fs-link-preview.bundled.js" ``` It would...
The `.gitignore` files can also be simplified since it can just ignore a folder instead of top level resources like this. ``` # top level source my-element.js my-element.js.map my-element.d.ts my-element.d.ts.map...