Converting plaintext to Markdown in BBedit

73 views
Skip to first unread message

Mark C.

unread,
Mar 27, 2019, 4:51:46 PM3/27/19
to BBEdit Talk
I have to reformat a bunch of texts into the Dokuwiki syntax, which is basically a version of Markdown.  I'm wondering what the smartest way would be to do that using BBedit.  Thanks for your suggestions.

Here is a sample of the Dokuwiki syntax: https://www.dokuwiki.org/cheatsheet

FORMATTING
**bold**bold
//italic//italic
__underline__underline
''monospace'' (single quotes)monospace
**//__''all together''__//**all together
<sup>sup</sup> and <sub>sub</sub>sup and sub
<del>delete text</del>delete text
force\\ newlineforce
newline
LINKS
[[http://www.google.com|Google]]Google
[[mailto:f...@example.com|Mr. Foo]]Mr. Foo
[[wiki:Syntax|Go to the syntax page]]Go to the syntax page
[[wiki:Syntax#anchor|Link to anchor]]Link to anchor
[[doku>interwiki|Interwiki link]]Interwiki link



Steve deRosier

unread,
Mar 27, 2019, 4:56:44 PM3/27/19
to bbedit
Well, "in BBEdit", I'd use a keyboard and get typing. ;)

But, here's how I would do it:
https://pandoc.org/

I'm assuming that it's not required you do it by hand using BBEdit.

- Steve


On Wed, Mar 27, 2019 at 1:51 PM Mark C. <cra...@gmail.com> wrote:
>
> I have to reformat a bunch of texts into the Dokuwiki syntax, which is basically a version of Markdown. I'm wondering what the smartest way would be to do that using BBedit. Thanks for your suggestions.
>
> Here is a sample of the Dokuwiki syntax: https://www.dokuwiki.org/cheatsheet
>
> FORMATTING
> **bold**bold
> //italic//italic
> __underline__underline
> ''monospace'' (single quotes)monospace
> **//__''all together''__//**all together
> <sup>sup</sup> and <sub>sub</sub>sup and sub
> <del>delete text</del>delete text
> force\\ newlineforce
> newline
> LINKS
> [[http://www.google.com|Google]]Google
> [[mailto:f...@example.com|Mr. Foo]]Mr. Foo
> [[wiki:Syntax|Go to the syntax page]]Go to the syntax page
> [[wiki:Syntax#anchor|Link to anchor]]Link to anchor
> [[doku>interwiki|Interwiki link]]Interwiki link
>
>
>
> --
> This is the BBEdit Talk public discussion group. If you have a
> feature request or need technical support, please email
> "sup...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
> ---
> You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+un...@googlegroups.com.
> To post to this group, send email to bbe...@googlegroups.com.
> Visit this group at https://groups.google.com/group/bbedit.

Mark Crane

unread,
Mar 27, 2019, 4:59:27 PM3/27/19
to bbe...@googlegroups.com
I didn't realize Pandoc supported Dokuwiki--thanks for the heads up.

You received this message because you are subscribed to a topic in the Google Groups "BBEdit Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bbedit/rV4oWC00eWU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bbedit+un...@googlegroups.com.

To post to this group, send email to bbe...@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


--
Reply all
Reply to author
Forward
0 new messages