Closed PeopleInside closed 1 year ago
You might be interested in the extension I made that fixes this issue (among other things): CLUB1 Server Side Highlight.
It provides the following advantages:
highlight:download
Flarum console command.fof/nightmode >= 1.5.2
by switching the highlight theme accordingly.Thank you, but why this extension fix only new post? Once is active will edit how message are posted so this is the reason I read the changes will be applied only to new comments? :)
Thank you, but why this extension fix only new post? Once is active will edit how message are posted so this is the reason I read the changes will be applied only to new comments? :)
Yes, this extension applies the highlight in the backend. It modifies the parser, who is responsible for analyzing the posts when they are sent. This is to minimize the amount of processing when reading the posts.
As recommended, you can use php flarum chore:reparse
from the club-1/flarum-ext-chore-commands
extension to parse again all previous posts. Note that other extensions might also affects the parser, so it could change more than just the code highlighting on old posts.
Closing since this extension isn't responsible for what dark mode looks like, only activating it.
Bug Report
Current Behavior
In Dark mode some strings of the code are not visible.
See here: https://discuss.flarum.org/d/21492-friendsofflarum-night-mode/365