Giter VIP home page Giter VIP logo

Comments (3)

rufuspollock avatar rufuspollock commented on May 16, 2024

That is correct (commonmark) markdown if no trailing space on first line. For github flavored markdown it should though not sure about how the gfm support in remark works.

Rose are red
Violets are blue

A proper test would be the following which i think works.

> Rose are red
>
> Violets are blue

Rose are red

Violets are blue

Aside: good to add an example of the docs page for the relevant feature and see what happens.

from flowershow.

olayway avatar olayway commented on May 16, 2024

A proper test would be the following which i think works.

> Rose are red
>
> Violets are blue

Rose are red

Violets are blue

But the above lines end up separated by an additional empty line...

Since we are mostly targetting Obsidian users, I think this is worth taking into account how it works in Obsidian. (+ it seems to work the same here on GitHub, although I couldn't find confirmation for this in the GFM spec).

Aside: good to add an example of the docs page for the relevant feature and see what happens.

I've noticed it while working on such a page (demo for markdown/obsidian syntax support), but I'll add a link here after merge. But I've just updated the description of this issue, so should be more clear what happens.

from flowershow.

Gutts-n avatar Gutts-n commented on May 16, 2024

@olayway in tests here, it looks like it's working correctly, am I right?

image

from flowershow.

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.