question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature: add plugins like katex

See original GitHub issue

I would like tu use Katex with ngx-markdown the same way I can use it on StackEdit.io. Is it planned to have some docs about how to add plugins or how to add new key (in StackEdit, Katex syntax is between $$) to execute some logics ?

## KaTeX

You can render LaTeX mathematical expressions using [KaTeX](https://khan.github.io/KaTeX/):

The *Gamma function* satisfying $\Gamma(n) = (n-1)!\quad\forall n\in\mathbb N$ is via the Euler integral

$$
\Gamma(z) = \int_0^\infty t^{z-1}e^{-t}dt\,.
$$

I can try to do something and do a PR if you want but I would need some indications.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
jfcerecommented, Oct 8, 2019

Katex support is now live, please refer to issue #181 for details.

1reaction
avelowcommented, Jul 3, 2018

I will share my code when it will be done ! I will try to do something like what is done here https://github.com/linxiaowu66/marked-kaTex/commit/3f9d61a025ccc338ae45716f5af11047cd42c4e8#diff-81ab0a5aa39b7a91951fc28d2d151496

I would have prefer if it was possible to had a new type of block (like quote, code or whatever) but it should be easier to just override the code renderer function

Read more comments on GitHub >

github_iconTop Results From Across the Web

Options - KaTeX
You can provide an object of options as the last argument to [`katex.render` and `katex.renderToString`](/docs/api.html). Available options are:
Read more >
Katex plugin not rendering in Learndash Quizzes
I'm making quizzes with Learndash plugin for wordpress. Katex does a fine job but there are a few issues. When quizzes are set...
Read more >
LaTeX/Installing Extra Packages - Wikibooks
A package is a file or collection of files containing extra LaTeX commands and programming which add new styling features or modify those...
Read more >
TeXiFy IDEA - IntelliJ IDEs Plugin - JetBrains Marketplace
However, I have always felt limited in my productivity with tools like Overleaf or Texmaker. With this plugin I can finally write LaTeX...
Read more >
LaTex input | Sanity.io plugin
sanity-plugin-latex-input adds support for latex schema type, so it can be used in Portable Text Editor (PTE) in Sanity Studio. Installation. npm install...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found