• I use the WP Githuber MD editor for my blog. I am not happy with the way it formats code. I write my posts using Markdown Monster, which supports publishing to my blog. I use GitHub Extended Markdown

    Some of my posts are tutorials that can be more than 20 pages in length and contain a few thousand lines of code.

    I am publishing chapters from a book I wrote (230 pages).

    Markdown generates HTML. Is there any way to use your plugin with Markdown only?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Andi Dittrich

    (@andi-dittrich)

    Enlighter supports GitHub fenced codeblocks – but this requires that your markdown plugin doesn’t touch these blocks

    Thread Starter csa123456

    (@csa123456)

    Thank you for the quick reply.
    This is my markdown editor

    I can bypass the plugin by converting it to HTML from my external editor, which will post directly to my blog. Can I embed your tags in HTML from Markdown Monster?

    The only other way I can it that working is to use your plugin in the HTML view

    Thanks,

    Howard S.Edidin
    Microsoft Certified Cloud Solution Architect

    Plugin Author Andi Dittrich

    (@andi-dittrich)

    it looks like your editor does already support syntax highlighting of gfm style codeblocks – why do you want to use Enlighter ? that doesn’t make any sense to me

    Thread Starter csa123456

    (@csa123456)

    I had written a few tutorials for Microsoft. The one contains code blocks from Markdown Monster

    On my blog, I would like to be able to add color to specific sections of code to identify them and provide more information below Adding comments makes the code harder to understand. I also want to prevent the code to be copied.directly. Everything I do is open-source and I prefer that the reader get it from my repository

    Thread Starter csa123456

    (@csa123456)

    My editor does but the plug doesn’t seem to I cannot set the maximum width and the code block runs off the screen

    Plugin Author Andi Dittrich

    (@andi-dittrich)

    what happens if you use gfm codeblocks (three backticks) – does you editor adds syntax highlighting or not ?

    if not you can use the Enlighter markdown integration. maybe you can disable the highlighting feature in “markdown monster” ?

    another option could be to use raw html tags within the markup – but this won’t make the code section “immutable” againt markdown/html markup – therefore i cannot recommend this method

    I also want to prevent the code to be copied.directly.

    thats not possible with EnlighterJS or any other editor..you may hook into the copy event via javascript but this is a very bad practice.

    Thread Starter csa123456

    (@csa123456)

    I can disable the Markdown Monster highlight.

    Markdown monster adds syntax highlighting, but the WP Githuber MD editor is supposed to, but it does not seem to work. Maybe I should use the old editor. There was a plugin to accept markdown.

    I will test it out and let you know the results.

    BTW, I have total control of the server. I logon as root. My provider provides VPS. I am also running a reverse proxy with port forwarding. I am going to add WP as a swarm service to Docker which I have running. I am porting the database to use MS SQL Server for Linux

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Compatibility with Markdown?’ is closed to new replies.