Code Monkey home page Code Monkey logo

Comments (5)

Canop avatar Canop commented on July 18, 2024 1

@schpet Thanks for letting me know. But I'll do it anyway because it looks the right thing to do.

BTW You're right to change if what you want is a full markdown parser: being a fully compliant markdown renderer was never the goal of termimad as I tried to explain in the readme. Termimad is designed for building terminal apps with markdown as one of the convenient ways to tell the UI how parts should render.

from termimad.

Canop avatar Canop commented on July 18, 2024

Not an implementation bug but a shortcoming of my requirements: I didn't even consider supporting list depth. So when you add 4 spaces, you just get some code block.

I'll have a look at how I could support this.

from termimad.

schpet avatar schpet commented on July 18, 2024

@Canop ah! that explains the background. appreciate you checking this out!

from termimad.

Canop avatar Canop commented on July 18, 2024

To ensure compatibility, I'll only handle the 4 first levels, with 0, 1, 2 or 3 spaces before. After that it will still be considered as code.

from termimad.

schpet avatar schpet commented on July 18, 2024

@Canop thanks for checking this out! to avoid wasting your time in case i'm the only person interested in this, i want to let you know that i ended up switching to mdcat's terminal output, which uses the pulldown-cmark parser

from termimad.

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.