Git Product home page Git Product logo

Comments (4)

JayPanoz avatar JayPanoz commented on June 11, 2024

Hmm, let me think about the best way to implement that.

It should probably be an option since it’s more of a stylistic choice in some languages (so that would be a namespace in LESS) and I’ve been willing to internationalize Blitz for some time now…

I can see how to handle some cases where there is content between a heading and the first paragraph but I must check whether edge cases exist.

Thanks for pointing that out, appreciated.

from blitz.

JayPanoz avatar JayPanoz commented on June 11, 2024

@kamorrissey

Will such “typesetting packages” do? 9f2d35c

They’re disabled by default e.g. you must add #non-indented-first-para to output it.

It comes at a high cost though as we don’t have context (cf. selector) and I’m wondering if this shouldn’t simply be the author’s call i.e. she/he add this declaration in the publication-context.

from blitz.

lumpynose avatar lumpynose commented on June 11, 2024

Jay, a clever way (hack) to do this is to set the text-indent to 0 for the p tag, and then have a css rule "p+p" and set its text-indent to 1em (or whatever). So the p+p says that only when there's a paragraph after a paragraph, indent it. Seems sort of backwards having no indent on the p tag, but it works with no added tagging in the html or a list of css rules.

from blitz.

JayPanoz avatar JayPanoz commented on June 11, 2024

Given the Blitz project is under an “End of Life process”, this issue has been frozen, labeled wontfix, and won’t be addressed any further. Please check #66 for more details.

from blitz.

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.