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

Too much gap between body text and wide things #4

Open
jez opened this issue Jun 27, 2021 · 1 comment
Open

Too much gap between body text and wide things #4

jez opened this issue Jun 27, 2021 · 1 comment

Comments

@jez
Copy link
Owner

jez commented Jun 27, 2021

Because there's a wrapping <div> in the way, the --line-height worth of margin outside the .wide things and inside the wide things doubles up, disrupting the rhythm.

Screen Shot 2021-06-27 at 12 32 10 AM

The first two gaps are good. The third gap is double the height of the others.

@jez
Copy link
Owner Author

jez commented Oct 31, 2024

This also affects code blocks

# Usage

1.  Download the `hanging-punctuation.lua` file:

    :::{.wide}
    ```{.bash}
    curl -sSLO https://raw.githubusercontent.com/jez/pandoc-hanging-punctuation/refs/heads/master/hanging-punctuation.lua
    ```
    :::

1.  Download the `hanging-punctuation.css` file:

    :::{.wide}
    ```{.bash}
    curl -sSLO https://raw.githubusercontent.com/jez/pandoc-hanging-punctuation/refs/heads/master/hanging-punctuation.css
    ```
    :::

1.  Pass these files when invoking `pandoc`:
Screenshot 2024-10-31 at 9 33 33 AM

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

1 participant