color and size rendered failure!
<font color=#00ffff> is color blue? </font>
<font color=gray size=72>color=gray</font>
Misago editor doesn't support presentational size and color by design - forum users shouldn't decide how things should look like - it is up to site designer.
But our message parser is extensive, so it is possible to create plugin that adds
[size=] bbcodes if forum administrator opts for it.
First of all, thanks for the quick response!
for eg, for english-study kind of forum,
first, user/moderator posted a meterial with some introduction, it should looks beatiful, at least with correct font size and color. then other users follow it and post their view points.
Here is documentation for plugging into message parser: misago.gitbook.io/docs/markup
Here is documentation for python-markup that Misago uses to parse messages: python-markdown.github.io/extensions/api/#extendmarkdown
You will want to define custom
extend_markdown(md) looking like this:
from markdown.extensions import Extension class MyExtension(Extension): def extendMarkdown(self, md, md_globals): # Insert instance of 'mypattern' before 'references' pattern md.inlinePatterns.add('mypattern', MyPattern(md), '<references') def extend_markdown(md): extension = MyExtension() extension.extendMarkdown(md)