Way to parse topics titles
-
Hello !
I installed katex on my nodebb forum and it parses well my shoutbox messages (using filter:parse.raw hook) and posts contents (using action:markdown.updateParserRules and filter:composer.formatting hooks) to get mathematical formulas with a good display.
But, topics titles are not parsed (and also breadcrumbs). What could be the simplest way to parse these ? Which hook(s) do you recommend ?
Thanks in advance !
-
@baris Finally, I used filter:topics.get because, with template.build hooks, it doesn't work on an "ajax" load (example : load of new topics in infinite scroll). (?)
I hope my filter:topics.get hook to parse topic titles doesn't lead to unforeseen things by me...
Copyright © 2024 NodeBB | Contributors