Øyvind Skaar
Øyvind Skaar

Reputation: 1840

Is it possible to preserve text alignment when reading from html using pandoc?

When parsing the html, text alignment on the p elements is stripped in the process. When reading the source for the html reader, it seems that there is nothing picking up on text alignment outside table cells, but I am not fluent in Haskell.

Upvotes: 1

Views: 639

Answers (1)

John MacFarlane
John MacFarlane

Reputation: 8937

You are right. The pandoc document model does not allow for alignment other than in tables, so the alignment information is simply ignored.

Upvotes: 2

Related Questions