Render latex using stimulus controller.

This commit is contained in:
Jan Böhmer 2022-03-06 15:49:09 +01:00
parent c54336fb47
commit cef74ff35a
8 changed files with 51 additions and 4 deletions

View file

@ -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() {