Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Textile justified or centered header not parsed #2674

Closed
kpym opened this issue Jan 23, 2016 · 1 comment
Closed

Textile justified or centered header not parsed #2674

kpym opened this issue Jan 23, 2016 · 1 comment

Comments

@kpym
Copy link

kpym commented Jan 23, 2016

In textile we can center à header with

h1=. Test

that should produce the following HTML

<h1 style="text-align:center">Test</h1>

but pandoc transpile it to

<p>h1=. Test</p>

In a similar way we can justify (h1<>.) and right align (h1>.).

@jgm
Copy link
Owner

jgm commented Jan 25, 2016

It would not be hard to make pandoc add a style attribute in this case, but this would only affect HTML output; you wouldn't get proper behavior in e.g. PDF output. Still, this would be better than emitting a = character!

@jgm jgm closed this as completed in a1021bd Jan 25, 2016
c-forster pushed a commit to c-forster/pandoc that referenced this issue Mar 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants