Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2.0 reconsider "Markdown"
#1
Sorry for creating another thread especially when there are 2 threads are already there:

https://community.mybb.com/thread-129503.html
https://community.mybb.com/thread-101198.html

> We should think about it again and come up with a workaround. Markdown is not gaining more and more popularity. even Whatsapp support bold, italic and preformatted text.

1. add option to choose preferred editor. markdown vs WYSIWYG (or anything like that)
2. Phrase it in html or whatever you prefer before saving to database. discourse and nodeBB are doing something similar i guess.


PS: The above two threads are pretty old (2-3 years) and scenario has been changed since then.
Reply
#2
Markdown is already supported in 2.0. There is a config option to choose either MyCode (BBCode) or markdown. We are also already parsing when saving to DB rather than on display.
Reply
#3
Thanks for letting me know!!
Reply
#4
(2016-08-21, 08:16 AM)Euan T Wrote: Markdown is already supported in 2.0. There is a config option to choose either MyCode (BBCode) or markdown. We are also already parsing when saving to DB rather than on display.


I'm not sure I agree with this pre-parsing 100%, unless there is a way to re-parse messages. As an example, I may chose to change the HTML generated for QUOTE or SPOILER.
Reply
#5
(2016-08-25, 08:13 PM)laie_techie Wrote:
(2016-08-21, 08:16 AM)Euan T Wrote: Markdown is already supported in 2.0. There is a config option to choose either MyCode (BBCode) or markdown. We are also already parsing when saving to DB rather than on display.


I'm not sure I agree with this pre-parsing 100%, unless there is a way to re-parse messages. As an example, I may chose to change the HTML generated for QUOTE or SPOILER.

The parsed code is stored with original text so it will be possible to to regenerate it (or set expiration time).
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply
#6
(2016-08-25, 08:13 PM)laie_techie Wrote:
(2016-08-21, 08:16 AM)Euan T Wrote: Markdown is already supported in 2.0. There is a config option to choose either MyCode (BBCode) or markdown. We are also already parsing when saving to DB rather than on display.


I'm not sure I agree with this pre-parsing 100%, unless there is a way to re-parse messages. As an example, I may chose to change the HTML generated for QUOTE or SPOILER.

If you were to change MyCode formatting, we could always wipe out pre-parsed text or something. The speed advantage that pre-parsing gives when viewing a thread is a major benefit to it though (especially where users could have settings configured for 100 posts per page in a thread, meaning 100 messages being parsed on a single page load - parsing isn't particularly quick Wink).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)