Sure! Pandoc is great option. Actually, my pelican blog is based on Pandoc.
However, I think is a bit overkill (for learning purposes) since the code base is in Haskell [1]. I would prefer something more Python-like.
[1] https://github.com/jgm/pandoc/blob/master/src/Text/Pandoc/Re...