3 ms·
> Pandoc is honestly overkill for just converting markdown to HTML Strongly disagree. Pandoc is the only solution I could find that outputs static HTML and sup
by IshKebab 5y ago
> Pandoc is honestly overkill for just converting markdown to HTML
Strongly disagree. Pandoc is the only solution I could find that outputs static HTML and supports maths. It's a really great solution. And it's pretty fast. I don't know in what way it could be overkill.
Using a hacky M4 script instead of Pandoc is completely insane. Find if you want to do insane things I guess but it's still insane.
- Deukhoofd 5y agoThe author clearly explained why they weren't able to use pandoc a couple lines before it. > This arm64 system not only didn’t have pandoc installed, but pandoc wasn’t even in the software repository. I considered compiling it myself, but the language it is written in, Haskel, doesn’t even compile on arm64. Then they justified it by explaining that their usecase didn't really need pandoc anyway.
- lmm 5y agoIt doesn't seem true though? Haskell has had AArch64 releases since at least 2017 - admittedly labelled as experimental, but it does compile.
- Deukhoofd 5y agoI'm not gonna question it when someone says they ran into issues compiling something on a different architecture. God knows I've had enough obscure problems with it in the past.
- Vosporos 5y agoAnd even without native code generator, GHC uses LLVM as a compiler backend for this architecture.
- nonameiguess 5y agoHe probably needs to cross-compile it. pandoc specifically has a history of not building on ARM boxes directly because it runs out of memory during the build. And GHC support for ARM in general has been spotty. I know pandoc wouldn't build on Apple Silicon last time I tried to install it, but that was a few months ago. That's a nice thing about C. It'll compile and run on basically anything.
- IshKebab 5y agoThere are Pandoc binary releases for Arm64. https://github.com/jgm/pandoc/releases https://github.com/jgm/pandoc/releases But it looks like this was before that (didn't have the 2020 when I read it).