Code Monkey home page Code Monkey logo

Comments (1)

cderv avatar cderv commented on August 19, 2024

This is how it looks
image

By "have a blank line between each bullet point", you are referring to the styling in browser as in image above ?

The line space between bullet is the result of margin at bottom for li element

d-article li {
    margin-bottom: 1em;
    margin-left: 0;
    padding-left: 0;
}

which is inserted by Distill JS itself.

This is the HTML we get

<h2 id="good-bullets">Good bullets</h2>
<ul>
<li>one</li>
<li>two</li>
<li>three</li>
</ul>
<h2 id="bad-bullets">Bad bullets</h2>
<ul>
<li><p>one blah</p></li>
<li><p>two what</p></li>
<li><p>three</p></li>
</ul>

As discussed in original issue (Abhi-1U/texor#60 (comment)), the loose list have <p> introduce on purpose by Pandoc

So for rjtools, unless you are tweaking something there, it should be the same HTML and than same CSS rule.

which is read as "empty line" by screen readers.

I don't know what exactly is not correct for screen readers. It would be really good to understand that to see what is the mistake in there 🤔

from distill.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.