ChrisPenner / slick

Static site generator built on Shake configured in Haskell
BSD 3-Clause "New" or "Revised" License
204 stars 24 forks source link

Adding support for org-mode #22

Closed apraga closed 2 years ago

apraga commented 2 years ago

Hi,

I was frustrated that hakyll did not support metadata for org-mode. Fortunately, I discovered your library, which seems to do the trick nicely as it uses pandoc under the hood ! So I've simply added an orgToHTML function to manage posts in org-mode.

ChrisPenner commented 2 years ago

Very nice! I don't use org-mode, but if it's as simple as adding a new pandoc reader with some options I'll take your word for it that it works as intended 😄 , folks should get some use out of it 🙌🏼

Thanks for the PR!

ChrisPenner commented 2 years ago

Heads up; I renamed the functions to orgMode* just to improve google-ability; and released it in 1.1.2.0 alongside lts-18.9 support.

published here: https://hackage.haskell.org/package/slick