made a quick attempt, but conversion to the wiki format is nontrivial, and I wasn’t sure it is worth the effort.
With the right tool, nothing is impossible! I believe Pandoc (available in a Debian/Ubuntu near you) should be able to handle all the Markdown->MediaWiki. eg. it converts this:
While Windows has it’s share of flaws, I can’t help but wonder if a system in which it’s noteworthy to have “precompiled and widely available binaries” (so the USER doesn’t have to compile the app before he uses it) isn’t just as wrong, only in different ways.
The thing many nix fans overlook is that most people just want to USE a computer, and one that’s good enough is, well, good enough. From that perspective, nix isn’t so much a tool as it is a toy: something from which people derive more entertainment than utility.
The precompiled note is because Pandoc is written in Haskell for ghc; the Haskell toolchain is far from being universally available (as, say, C toolchains using gcc are) and is somewhat immature on Mac and Windows. The Pandoc source is available, of course, but one may legitimately not wish to install everything necessary to compile the source oneself. (If Pandoc were written in C, then I might not bother specifying that there are trustworthy binaries available.) There’s a reason not everyone uses source-based distros like Gentoo or Arch.
Thanks for the tip! You don’t have to bend over, OP is on Ubuntu. I implemented JGWeissman’s suggestion, which made the issue kind of moot, as the filtered version does not really need manual postprocessing.
With the right tool, nothing is impossible! I believe Pandoc (available in a Debian/Ubuntu near you) should be able to handle all the Markdown->MediaWiki. eg. it converts this:
to
| With the right tool, nothing is impossible!
-- gwern
I like it! Provided the caveat is kept in mind that sometimes getting the right tool is itself impossible...
Why I hastened to mention the precompiled and widely available binaries.
(OP is on Windows? Well, there’s a limit to how far I will bend over backwards to accommodate someone using the wrong tool...)
While Windows has it’s share of flaws, I can’t help but wonder if a system in which it’s noteworthy to have “precompiled and widely available binaries” (so the USER doesn’t have to compile the app before he uses it) isn’t just as wrong, only in different ways.
The thing many nix fans overlook is that most people just want to USE a computer, and one that’s good enough is, well, good enough. From that perspective, nix isn’t so much a tool as it is a toy: something from which people derive more entertainment than utility.
The precompiled note is because Pandoc is written in Haskell for
ghc
; the Haskell toolchain is far from being universally available (as, say, C toolchains usinggcc
are) and is somewhat immature on Mac and Windows. The Pandoc source is available, of course, but one may legitimately not wish to install everything necessary to compile the source oneself. (If Pandoc were written in C, then I might not bother specifying that there are trustworthy binaries available.) There’s a reason not everyone uses source-based distros like Gentoo or Arch.Thanks for the tip! You don’t have to bend over, OP is on Ubuntu. I implemented JGWeissman’s suggestion, which made the issue kind of moot, as the filtered version does not really need manual postprocessing.