laravelrotebal / nova-katex
A Laravel Nova Katex field.
Installs: 108
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Language:Vue
Requires
- php: >=7.1.0
README
A laravel nova package that allows you to render KaTeX expressions.
Based on vue-katex package.
Installation
composer require laravelrotebal/nova-katex
Usage
use LaravelRotEbal\NovaKatex\NovaKatex; NovaKatex::make(__('Equation'), 'equation'),
Examples
\ce{Zn^2+ <=>[+ 2OH-][+ 2H+] $\underset{\text{amphoteres Hydroxid}}{\ce{Zn(OH)2 v}}$ <=>[+ 2OH-][+ 2H+] $\underset{\text{Hydroxozikat}}{\ce{[Zn(OH)4]^2-}}$}