Skip to content

Instantly share code, notes, and snippets.

View sebastien-attia's full-sized avatar

Sébastien Attia sebastien-attia

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sebastien-attia
sebastien-attia / MarkdownMathJax.md
Last active January 8, 2021 11:53
VueJS c omponent transforming Markdown and LateX in HTML

The MarkdownMathJax's VueJS component transforms a Markdown and LateX string into HTML.

It uses markdown-it and MathJax.

The following piece of code supposes that:

  • it runs in a nuxt project with the following nuxt.config.js config:
modules: [
  '@nuxtjs/markdownit'