Need markdown!!

Zero
Need markdown!!
Zero@3c1f5c5f Friday 29th May 2020, 09:56:21

Hi there,

I installed Flatboard 2.5 successfully for a project which is about using markdown documents as board games, and then, I realized that Flatboard doesn't seem to support markdown anymore.

Do you plan on adding markdown support again?

There are "safe" markdown libraries, like MarkdownIt, which won't let users insert HTML in their posts (HTML is escaped by default).

Last modified by Fred on Monday 1st June 2020, 22:15:00

Replies 7
Zero
Zero@2fdbc817  Friday 29th May 2020, 14:42:41

Moralité... I switched back to a v1.05 that I had somewhere in my files. That's a good thing since you can't even download previous version from this site.

Anyway, keep up the good work Fred!! We all 💗 Flatboard!

v1.05... which is useless anyway since markdown was broken. Argh

Last modified by Zero@2fdbc817 on Friday 29th May 2020, 15:03:00

Fred
Fred  Saturday 30th May 2020, 15:32:55

Hi Zero,
Try this modified version of FlatBBeditor.
Unzip this and upload FlatBBeditor.dat.php in data/plugin folder and replace entire plugin/FlatBBeditor folder by this.
Open data/config/config.dat.php and replace this line (22):
'editor' => 'bbcode',

by
'editor' => 'markdown',

Save this file and reload your forum.
  • Before ask a question, read the documentation.
  • 🎉  Featured as #1 product of the day on Product Hunt
  • Please like in alternativeto.net 👍🏻
  • ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
  • <TextField>, my new CMS project designed by a passionate developer, for developers!
  • My last project Fast⚡︎CMS, a Flat-File cms.
  • I am currently busy 😫.

Zero
Zero@3c1f5c5f  Monday 1st June 2020, 12:57:38

Hi Fred, thanks a lot!

In the meantime, I decided to put Flatboard and a Markdown editor side by side, so people can play on the Markdown side while talking on the Flatboard side. What was a problem turned out to be a source of inspiration, since I added a little BASIC interpreter to the Markdown game board.

Thinking about it, if people want to share Markdown code, it's easier to embed in BBCode than in Markdown.

Still, I'll download and keep the new editor preciously. Again, thanks!

Fred
Fred  Monday 1st June 2020, 14:27:19

In fact it is exactly the same editor, try it, the approach to go back is pretty fast😉
  • Before ask a question, read the documentation.
  • 🎉  Featured as #1 product of the day on Product Hunt
  • Please like in alternativeto.net 👍🏻
  • ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
  • <TextField>, my new CMS project designed by a passionate developer, for developers!
  • My last project Fast⚡︎CMS, a Flat-File cms.
  • I am currently busy 😫.

Zero
Zero@3c1f5c5f  Monday 1st June 2020, 20:10:54

Well it works! Thanks a lot, Fred. You're on my credit page 😉

Fred
Fred  Monday 1st June 2020, 22:14:16

  Don't forget to give a link a your forum on this thread 😉
  • Before ask a question, read the documentation.
  • 🎉  Featured as #1 product of the day on Product Hunt
  • Please like in alternativeto.net 👍🏻
  • ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
  • <TextField>, my new CMS project designed by a passionate developer, for developers!
  • My last project Fast⚡︎CMS, a Flat-File cms.
  • I am currently busy 😫.

Zero
Zero@2fdbc817  Thursday 4th June 2020, 01:43:11

Namaste... and may the source be with you 🙏 😊