Markdown analyzer for markItUp editor or stable release of WMD demo

A bit long question (s) ...

Does anyone know a score browser for the markItUp editor? I tried showdown.js, but there seems to be no way to integrate it with markItUp. This is despite the fact that makrItUp has a configuration API that allows you to specify your own path and parser variable using previewParserVar and previewParserPath .

In fact, I prefer to use WMD Editor, but when I tried to use the SO version on gitHub, I found it to be very bad. There are so many forks, but I canโ€™t find a stable one.

In the end, I found this fork , jquery-markedit, which is really cool, but when the form is placed, unlike the original wmd-fork , the form does not publish the analyzed text. Textarea data is published as plain text. The text is viewed perfectly for preview, but it seems strange that it is not parsed.

So, I decided to resort to markItUp, which has an established markdown, but does not have a parser.

The WMD version that SO currently uses is different from the gitHub version of wmd-fork - does anyone know about the current version of SO uses and if it is available as open source?

+4
source share
1 answer

Yes, I know markitup! . I recently (today) tested markup! and WMD. It amazes me markitup! doesn't seem to have a cancel function. And the header functionality (h1 - h6) in markitup! 6 buttons are required, but only 1 button in WMD.

Among all the WMD repositories, I downloaded and tested these 2 repositories, and I think they seem promising (I tested them for only 30 seconds each, so I could be very wrong).

  • umamo , which (talks about his commit posts) adds LaTeX math.
  • klipstein that fixes errors and makes | delimiters are visible.

Both are based on the Open Library repo , which I need, because it allows you to immediately open many editors. However, this fork did a lot of refactoring; I do not know if it will be useless to merge changes from other branches.

I have no idea what the stack overflow repo uses.

By the way, here is an interesting showdown.js repo (showdown is the JavaScript Markdown implementation used by WMD) that implements support for RTL languages โ€‹โ€‹(according to its readme file). I am considering incorporating these changes into yet another WMD repo :-)
https://github.com/hasenj/showdown/tree/

Hope this helps,
Magnus

+2
source

Source: https://habr.com/ru/post/1334152/


All Articles