Comments (4)
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.
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.
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.
@mantas, please note that TSMarkdownParser 2.0.1 is now ofifically available on CocoaPods
from tsmarkdownparser.
Related Issues (20)
- Links are always blue HOT 7
- CodeEscaping is conflicting with Escaping HOT 3
- Naming question for new classes HOT 2
- Apply NSParagraphStyleAttributeName to list items via listAttributes HOT 14
- Parsing is extremely fragile? HOT 2
- tvOS broken due to unavailable font HOT 4
- Get image from a custom bundle
- Reference-style links HOT 8
- New Pod release with last commits HOT 4
- Sometimes app crashes in TSMarkdownParser init HOT 5
- Feature request: Github release with travis for Carthage HOT 1
- Link parsing conflicts with autodetection when the link text happens to be recognized as something to link as well HOT 3
- Feature request: compatibility with NSAttributedStringKey HOT 1
- Issue: Crash in MacOS 10.10 HOT 1
- Crash reported parsing markdown HOT 7
- Incorrect handling of line breaks HOT 1
- Swift Compatibility: NSString * to NSAttributedStringKey *
- The standard parser doesn't support nested lists.
- Inject the bullet point character
- SPM Release?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tsmarkdownparser.