Coder Social home page Coder Social logo

latex.js's Introduction

VSCode LaTeX.js Preview

Provides LaTeX.js preview in VSCode.

Preview

Showcase document by Michael Brade

Requirements

  • VSCode (>= 1.32.0)
  • An internet connection: To pull the most current LaTeX.js package
  • Optional but recommended: LaTeX Workshop
    • Provides syntax highlighting, autocomplete, colorise and more.
    • IMPORTANT ❗: Please turn off compilation features in LaTeX Workshop to not let it interfere with this extension.

Usage Guide

  • Install this extension
  • Open any valid LaTeX.js-supported file
  • Open the command palette (Windows: Ctrl+Shift+P, Mac: Cmd+Shift+P)
  • Run the LaTeX.js: Open Preview or LaTeX.js: Open Preview to The Side command.

Extension Controls, Commands and Settings

Limitations

Notes

  • LaTeX.js requires a DOM to function--VSCode on Electron does not have a DOM, so rendering is done inside the webview (that contains a DOM). There are ways to get around this (such as jsdom), but it is not that straightforward.
  • Compilation requires passing the generated HTML from the webview to the extension, I will look into this if there is demand.
  • There can be an option for selecting the LaTeX.js version wanted, I will add this feature if there exists a need.

Contributing

latex.js's People

Contributors

lhl2617 avatar

Stargazers

 avatar 焱铭 avatar Ruiming Guo (郭睿明) avatar Brendan Meade avatar Ethan Sarif-Kattan avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

kwvg dandelight

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.