MarkdownEditing icon indicating copy to clipboard operation
MarkdownEditing copied to clipboard

Adding Pandoc support

Open bordaigorl opened this issue 11 years ago • 12 comments

I think many Markdown users use Pandoc as a backend nowadays. So it would be nice to provide a separate syntax file for Pandoc's extras. The pandoc branch in my fork is has an initial draft for such a file https://github.com/bordaigorl/sublime-markdown-editing/tree/pandoc if there is some interest we could coordinate to make it fully featured.

bordaigorl avatar Mar 21 '14 15:03 bordaigorl

There has been an interest on Pandoc markdown. If you are willing to work on this, then it is OK for me. In the end, I can merge it to master. Personally I can't put time on this since I'm not familiar with pandoc and don't have much time. But still I'll try to help.

Some notes:

  • I see that Markdown (Pandoc).tmLanguage comes in one commit. When forking a file, as a git best practice you should do it in 2 steps. One for just duplicating file and one for making your edits. So we can see what is changed.
  • Consider putting unrelated edits into different commits. So we can git-cherrypick some of them to main syntax file when applicable.
  • You can maintain another branch for improvements to main plugin. So you can cherriypick some commits from pandoc branch to that branch. Looking at your Markdown (Pandoc).tmLanguage, I see some improvements that can be applied to main syntax file.

Thanks

maliayas avatar Mar 21 '14 21:03 maliayas

Excellent points. I'll see if I can amend the history.

About the improvements to the main branch, I already started some branches for that, see #169.

bordaigorl avatar Mar 22 '14 17:03 bordaigorl

Any news here ?

hadim avatar Oct 02 '15 07:10 hadim

I and maliayas are both not familiar with pandoc. bordaigorl seems to have done some work but never finished.

felixhao28 avatar Oct 07 '15 09:10 felixhao28

@hadim my fork adds some support for the Pandoc syntax I use but it does not cover all the extensions.

bordaigorl avatar Oct 07 '15 09:10 bordaigorl

@bordaigorl whenever you think your fork is ready for merge, you can open a pull request and we will have a look.

felixhao28 avatar Oct 07 '15 10:10 felixhao28

Why is this not already merged?

gkend avatar Feb 26 '18 08:02 gkend

This is an issue, not a PR.

felixhao28 avatar Feb 27 '18 08:02 felixhao28

Any news on that? I'd really be happy with Math support for MarkDown.

RoyiAvital avatar May 05 '18 21:05 RoyiAvital

@RoyiAvital there is already a limited support if you write like this: $x_i + y_i = 5$.

felixhao28 avatar May 07 '18 04:05 felixhao28

@felixhao28 , What about $$ ... $$?

RoyiAvital avatar May 07 '18 15:05 RoyiAvital

Double dollar signs work too.

felixhao28 avatar May 09 '18 02:05 felixhao28