GithubHelp home page GithubHelp logo

Comments (4)

Coeur avatar Coeur commented on September 27, 2024

I think you are using TSMarkdownParser 1.x.
Could you give a try to TSMarkdownParser 2.0 using:
pod 'TSMarkdownParser', :git => 'https://github.com/laptobbe/TSMarkdownParser.git', :tag => '2.0.0'

from tsmarkdownparser.

Coeur avatar Coeur commented on September 27, 2024

Note that I recommend TSMarkdownParser 2.0 because the new defaultParser will, as a context simplification, require a space after * to make it a list item.

It is still possible to define rules that would support both *some* text as bold and *some * text as a list item and an asterisk, but I don't do it for defaultParser as it's non user-friendly that a distant space character from the beginning of the line could affects the whole line rendering.

If you really need to support the above (list item without space after asterisk but non-conflicting with bold/italic), then tell me and I will see what I can do.

from tsmarkdownparser.

mantas avatar mantas commented on September 27, 2024

Yep, it works fine with the TSMarkdownParser 2.0. I must have had cached version from Cocoapods...

I'm not using the list tag at all in this app, so this is not a problem for me. Even if I would, * + space seems more than fair requirement.

By the way, awesome library. Thank you!

from tsmarkdownparser.

Coeur avatar Coeur commented on September 27, 2024

@mantas, please note that TSMarkdownParser 2.0.1 is now ofifically available on CocoaPods

from tsmarkdownparser.

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.