mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 18:28:49 +02:00
Render latex using stimulus controller.
This commit is contained in:
parent
c54336fb47
commit
cef74ff35a
8 changed files with 51 additions and 4 deletions
|
@ -10,6 +10,12 @@ export default class extends Controller {
|
|||
{
|
||||
this.configureMarked();
|
||||
this.render();
|
||||
|
||||
//Dispatch an event that we are now finished
|
||||
const event = new CustomEvent('markdown:finished', {
|
||||
bubbles: true
|
||||
});
|
||||
this.element.dispatchEvent(event);
|
||||
}
|
||||
|
||||
render() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue