Skip to content

First line indent #169

New issue

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

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

Already on GitHub? # to your account

Merged
merged 3 commits into from
Apr 8, 2021
Merged

First line indent #169

merged 3 commits into from
Apr 8, 2021

Conversation

jdutant
Copy link
Contributor

@jdutant jdutant commented Mar 21, 2021

Not sure whether this filter is simple enough for this repo.

The filter provides finer control of the first-line indentation style of separating paragraphs in Pandoc's markdown, targetting HTML and LaTeX/PDF outputs. It switches on Pandoc's first-line
indent style, automatically removes (typically unwanted) first-line indents after blockquotes and
lists unless the user specifies otherwise, and allows users to control whether a paragraph has first-line indentation in both LaTeX and HTML by inserting \indent or \noindent at the beginning of a paragraph.

Limitation: at present it only handles English-style typography in HTML (in French and perhaps other languages, paragraphs are first-line indented even after headings; this is handled in LaTeX by the babel or polyglossia languages, not re-implemented for HTML in that filter.)

@tarleb
Copy link
Member

tarleb commented Apr 8, 2021

Looking great, thanks Julien!

@tarleb tarleb merged commit 861a526 into pandoc:master Apr 8, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants