Skip to content

improvements to tikzjax #42

Description

@benrbray

When I have time, I would like to make a fork of drgrice1/tikzjax to address the following issues.

Possible Improvements

  • Currently, the tikzjax document is only rendered when a <script type="tikz"> element is detected on the page. It would be great if there were a way to manually invoke the renderer, for more control.
  • Override the default "loading spinner" provided by tikzjax.
  • Add a way to control the attributes of the SVG output. For instance, a "scale" parameter to the rendering function which multiplies the width and height attributes of the SVG by a fixed amount.
  • When there are TeX rendering errors, find a way to store them in a string rather than printing them line by line to the console. This would make it possible to display the errors to the user.
  • Simplify the build process
  • Make it easier to include custom *.sty files, such as quiver.sty from q.uiver.app
  • some basic symbols & packages are missing, for example \ulcorner and \lrcorner for commutative diagrams

Useful Information

forks of tikzjax:

some of the issues filed in the obsidian-tikzjax repo have useful information:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions