File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,6 +45,9 @@ const urlP = new URLSearchParams(document.location.search);
4545
4646const fontsP = urlP . get ( "fonts" ) ;
4747const widthP = urlP . get ( "w" ) ;
48+ const ltxP = urlP . get ( "ltx" ) ;
49+ const amP = urlP . get ( "am" ) ;
50+ const mmlP = urlP . get ( "mml" ) ;
4851
4952document . addEventListener ( "DOMContentLoaded" , ( ) => {
5053
Original file line number Diff line number Diff line change @@ -274,6 +274,9 @@ <h3>MathML Font Display</h3>
274274 minwv . textContent = event . target . value ;
275275 minwcss . textContent = "th,td{min-width: " + event . target . value + "em;}" ;
276276 } ) ;
277+ if ( ltxP ) document . getElementById ( "ltxedit" ) . value = LZString . decompressFromEncodedURIComponent ( ltxP ) ;
278+ if ( amP ) document . getElementById ( "asciimathedit" ) . value = LZString . decompressFromEncodedURIComponent ( amP ) ;
279+ if ( mmlP ) document . getElementById ( "mmledit" ) . value = LZString . decompressFromEncodedURIComponent ( mmlP ) ;
277280 </ script >
278281
279282 < div id ="flow ">
You can’t perform that action at this time.
0 commit comments