BB code=rich --- weird behaviour

  • Thread starter Thread starter BvU
  • Start date Start date
BvU
Science Advisor
Homework Helper
Messages
16,219
Reaction score
4,934
I had some weird experiences with BB code=rich: I wanted to emphasize a few lines and made them red. Didn't show up in preview or 'post reply'.
Made them bold as well and they came out bold and red. Not reproducibly.
Now when I quote myself, red and bold do appear in the editor, the preview cuts off after 3 lines.
[edit] actual post shows all lines, but lines 6-8 are normal instead of red and bold
How is this supposed this work ?
BvU said:
Instead of \cos\phi_1 etc you could define some abbreviations
Rich (BB code):
$$
\def\cp{\cos\phi}    \def\sp{\sin\phi}
\def\cpo {\cp_1}  \def\cptw {\cp_2}  \def\cpt {\cp_3}
\def\spo {\sp_1}  \def\sptw {\sp_2}  \def\spt {\sp_3}

\cp_1 \ \cp_2 \\
\sp_1 \ \sp_2 \\
\cpt \\ r\cpo\cptw\cpt \quad r\spo\sptw\spt
$$
gives
 
Physics news on Phys.org
I think the environment is not supposed to have bb-codes. They are cut away in the source code -> html conversion.
 
  • Like
Likes   Reactions: Greg Bernhardt
So what does code=rich do ?
 
We're using an addon for the code numbering and some other formatting. There could be a conflict with that. Honestly I don't have the time right now to debug this. Rich mode for code is broken.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K