Skip to content
This repository has been archived by the owner on Feb 1, 2018. It is now read-only.

Show LaTeX formulas for GitHub Markdown files.

License

Notifications You must be signed in to change notification settings

CyberZHG/LaTeXGitHubMarkdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LaTeX GitHub Markdown

travis-ci Chrome Web Store Chrome Web Store Chrome Web Store

Installation

Chrome Web Store

Introduction

A chrome extension that adds LaTeX buttons to Markdown elements on GitHub. The LaTeX formulas begin and end with $ or $$ are all rendered as inline style. Following is an example:

$$\left { \begin{array}{rll} \nabla \cdot \mathbf{E} &=& \displaystyle \frac {\rho} {\varepsilon_0} \\ \nabla \cdot \mathbf{B} &=& 0 \\ \nabla \times \mathbf{E} &=& \displaystyle - \frac{\partial \mathbf{B}} {\partial t} \\ \nabla \times \mathbf{B} &=& \displaystyle \mu_0\mathbf{J} + \mu_0 \varepsilon_0 \frac{\partial \mathbf{E}} {\partial t} \\ \end{array} \right .$$

If you successfully installed this extension, you can see a LaTeX button in the right-top corner of this Markdown document.

You can see the LaTeX buttons in the following elements:

  • A Markdown file in a repository.

README.md

  • The comments in an issue.

Issue

  • A gist file whose extension is .md.

Gist

  • A wiki page.

Wiki

About private repos

We use local storage to store the rendered contents for private repositories, the results could only be viewed in your own browser. And the contents will be deleted immediately.

More details

  • The formulas are rendered with MathJax.