Coder Social home page Coder Social logo

dotcs / hexo-katexify Goto Github PK

View Code? Open in Web Editor NEW

This project forked from haripo/hexo-simple-katex

7.0 2.0 1.0 104 KB

Hexo plugin for rendering TeX math by katex

Home Page: https://npmjs.com/package/hexo-katexify

License: MIT License

TypeScript 100.00%

hexo-katexify's Introduction

hexo-katexify · build status

Hexo plugin for rendering TeX math by katex. This plugin is based on the work of haripo.

Installation

$ npm install hexo-katexify --save
$ npm test

or with yarn

$ yarn add hexo-katexify
$ yarn test

Import katex.min.css (in template)

<head>
  <!-- other code goes here -->

  <link href="/katexify/katex.min.css" rel="stylesheet" />
</head>

Usage

Inline syntax

$ y = x^2 + 3 $

or display mode syntax

$$
y = x^2 + 3
$$

Release

Steps to release a new version.

git flow release start 1.0.0

# Then to the following steps:
# - Update version number in package.json
# - See if publishing would work: yarn run prepublish
# - Make sure that all changes have been added, especially in the dist folder
# - Commit any changes

git flow release finish -p

git checkout master
npm publish

hexo-katexify's People

Contributors

codgician avatar dotcs avatar haripo avatar zcyemi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

zcyemi

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.