Git Product home page Git Product logo

Comments (8)

dstillman avatar dstillman commented on June 3, 2024

Sorry, not sure what you mean here. The content should just be whatever is in the Abstract field, which could be anything.

from publications.

dstillman avatar dstillman commented on June 3, 2024

Do you mean that abstracts are showing as single paragraphs because any embedded newlines are getting collapsed? We might need to display them with white-space: pre-wrap;.

from publications.

flachware avatar flachware commented on June 3, 2024

You understood correctly, I was wondering if there is some kind of structure in the abstract data – paragraphs, newlines, whatever.

Having newlines preserved could help a bit, but is also double-edged within a responsive design (newline after a long line might not be noticeable).

Could we convert newline separated text segments into paragraphs by any chance? Paragraphs would be ideal, as we could separate them with space or text-indent (as in the design above). Long abstracts would really benefit from some (visual) structure – if possible.

from publications.

tnajdek avatar tnajdek commented on June 3, 2024

technically we could inject paragraphs with some regex but I'm not sure if we should.

from publications.

dstillman avatar dstillman commented on June 3, 2024

I'm OK converting newlines to paragraphs and seeing how well it works. If we find lots of abstracts that use newlines in non-paragraph ways, we can reconsider.

from publications.

flachware avatar flachware commented on June 3, 2024

Great, let's try this. Finally we should have abstracts with 1 to n paragraphs.

from publications.

tnajdek avatar tnajdek commented on June 3, 2024

Done in 51f472b, looking good!

screen shot 2016-02-09 at 19 19 50

from publications.

flachware avatar flachware commented on June 3, 2024

Nice!

from publications.

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.