HermanMartinus / bearblog

Free, no-nonsense, super fast blogging.
MIT License
2.7k stars 77 forks source link

Any way to disable markdown for writing posts? #49

Closed gulkily closed 4 years ago

gulkily commented 4 years ago

Is there any way to disable markdown and just write in plain text (or html)?

rkingett commented 4 years ago

I think you can do it either way, since it's a simple text editor area. Try HTML. I personally find Markdown lightyears easier to write than HTML. If you mean, Rich text, I don't think there is a way to write in rich text.

HermanMartinus commented 4 years ago

Thanks @rkingett, you're correct. You can write in plain text and in HTML as well as Markdown. There is no functionality for rich text.

gulkily commented 4 years ago

The reason I want to disable Markdown is that I write with a lot of in-text formatting which I want to remain as is.

rkingett commented 4 years ago

It actually sounds like you want the creator to enable CSS wrapping. Disabling markdown alone won't achieve the results you are looking for.

If I could make a suggestion, write.as has this CSS style enabled.

The editor in BearBlog works for writing in plain text, and HTML. Just not rich text. If you want to write HTML and stylize it, I think you would need CSS properties for that.

But, at the moment, HTML and plain text works in the BearBlog editor as is.

gulkily commented 4 years ago

All I'm looking for is that when I type something like: abc*123* or *abc123*, it is not converted to italics, but left just as I typed it.

Edit: Ironically yet helpfully, GitHub has demonstrated the issue I am often facing. I had to escape those asterisks.

HermanMartinus commented 4 years ago

@gulkily I see what you mean. Unfortunately for your use case you'll have to escape the characters reserved for markdown. There is currently no text-only version available.

gulkily commented 4 years ago

Thank you for your response. Unfortunately, this is a deal-breaker for me. I enjoyed using your project, thank you for putting it out there.

HermanMartinus commented 4 years ago

I understand. :)