Giter Site home page Giter Site logo

darwis-mathlive-plugin's Introduction

Overview

Incorporation of MathLive into Logseq.

Installation

  1. Download the release from https://github.com/hkgnp/darwis-mathlive-plugin/releases.
  2. Unzip the file and load the unzipped folder from within Logseq.
  3. Restart Logseq.

Usage

After restarting Logseq, trigger the plugin by typing /MathLive. A dialogue box will appear to let you enter your Mathematical functions. An output property will also be created to store the math values so that the block is able to persist the typed equation.

Converting to Latex

When you are done drafting your formula, you can convert it to Latex so that it is more "permanent". This means that when you export your page, you will be able to see the Latex formula.

Credits

Darwis from Discord for this implementation.

MathLive

darwis-mathlive-plugin's People

Contributors

benjypng avatar sethyuan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

sethyuan

darwis-mathlive-plugin's Issues

MathLive plugin broken

Attempting to use the MathLive plugin, and the preview and text editor is broken for me. I'm not sure if this is on my end or was caused by a logseq update. Can someone else confirm?

Thanks.

2024-01-24T20:58:07,316829012+05:00

Integrate with regular logseq math equations

When I'm viewing a document with the mathlive block its really jarring and out of place compared to the rest of my logseq page.

Would it be possible to only show the mathlive editor when the equation is clicked on, but otherwise render it as any other logseq equation?

And a separate but related issue is that these equations don't get exported at all in the html page output. I'm not sure if thats something a plugin control, but it would be great if these equations just showed up in the html export like any other equation. Because I can currently export a page with latex equations as html and just add a header with the katex auto-render library to get the page and math expressions to export correctly. The mathlive blocks however just don't show up.

Also, thank you for creating the plugin! It is a really nice bonus from writing latex math expressions by hand.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.