Giter Site home page Giter Site logo

Broken blockquotes about notion-to-md HOT 8 CLOSED

souvikinator avatar souvikinator commented on May 17, 2024
Broken blockquotes

from notion-to-md.

Comments (8)

raphtlw avatar raphtlw commented on May 17, 2024 1
  1. All test results have passed.
    Screenshot 2022-06-19 at 11 01 30 PM
  2. I just checked the version, it is in fact, v2.3.4.

from notion-to-md.

raphtlw avatar raphtlw commented on May 17, 2024 1

This is how I am using this library:

Screenshot 2022-06-19 at 11 03 18 PM

from notion-to-md.

raphtlw avatar raphtlw commented on May 17, 2024 1

Holy shit I'm so sorry, the Notion page was broken where the blockquote was located, causing the quote to be somehow indented multiple lines, even though I couldn't see it. It looked normal, but I went to backspace and rewrite the whole block again and it got fixed. Apologies and thank you for making time to build such an awesome tool!

from notion-to-md.

souvikinator avatar souvikinator commented on May 17, 2024 1

Ah I see. Thanks for using notion-to-md :))

from notion-to-md.

souvikinator avatar souvikinator commented on May 17, 2024

Hi there, @raphtlw

Are all the test results passing? Try running test using npm run test
Also may I know the version of notion-to-md you are using? Latest is v2.3.4

Not sure what's the issue here. Everything is working fine from my end.
Here are the outputs:

Notion:

image

Output:

image

from notion-to-md.

raphtlw avatar raphtlw commented on May 17, 2024

Okay, I can now confirm it's got to do with something on my end. Not sure what it is exactly, but i'll figure it out. It seems to work if I put the same block in an empty page, but not when it's part of another pages content.

Renders perfectly when standalone:
Screenshot 2022-06-19 at 11 09 04 PM

Not when together with other blocks:

Screenshot 2022-06-19 at 11 10 07 PM

from notion-to-md.

souvikinator avatar souvikinator commented on May 17, 2024

That's weird because it should also work with other blocks as you can see in the screenshots I have shared.
Can you share the markdown response in both cases?

from notion-to-md.

raphtlw avatar raphtlw commented on May 17, 2024

Here is part of the mdBlocks output from the original Notion page:

image

It looks alright, but the logged mdString shows this:

Screenshot 2022-06-19 at 11 33 12 PM

Very weird behaviour indeed. Nothing is being modified in between.

from notion-to-md.

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.