GithubHelp home page GithubHelp logo

markdown's Introduction

NimbusKit

NimbusKit is the iOS framework whose feature set grows only as fast as its documentation.

Getting Started

  • Clone this repository https://github.com/NimbusKit/Catalog.git.
  • cd to the Catalog directory.
  • Run the command ./refresh_features

All of NimbusKit's features will be cloned to your computer in the Catalog/features folder.

markdown's People

Contributors

fabiopelosin avatar honcheng avatar idevsoftware avatar jverkoey avatar lukaskollmer avatar myell0w avatar nachosoto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

markdown's Issues

Umlauts are removed

Hi,
if I parse an utf8 string with umlauts, e.g. @"Hübner" it results in
@"Hbner".

Please add semantic version tags

I’ve recently added NSAttributedStringMarkdownParser to the CocoaPods package manager repo.

CocoaPods is a tool for managing dependencies for OSX and iOS Xcode projects and provides a central repository for iOS/OSX libraries. This makes adding libraries to a project and updating them extremely easy and it will help users to resolve dependencies of the libraries they use.

However, NSAttributedStringMarkdownParser doesn't have any version tags. I’ve added the current HEAD as version 0.0.1, but a version tag will make dependency resolution much easier.

Semantic version tags (instead of plain commit hashes/revisions) allow for resolution of cross-dependencies.

In case you didn’t know this yet; you can tag the current HEAD as, for instance, version 1.0.0, like so:

$ git tag -a 1.0.0 -m "Tag release 1.0.0"
$ git push --tags

fmemopen is missing

Hi,

I used your parser in my project, but I had to manually add fmemopen from you other repo which is not very convenient :)
Did you think about pushing your project to cocoapods? You can declare all dependencies and allow other users to integrate your parser in just one line. It would be very cool :)

Anyway, great stuff!
Kamil Burczyk

CocoaPods

Hey, could you please update the cocoapods specs. It is still linking to an old version where the strlen fix is not preent.

Thanks,

Jakob

Flex Unused Entity Issue

In Xcode 5, we get a warning from flex:

Unused Entity Issue
Function 'input' is not needed and will not be emitted.

Do you have any ideas for a fix or how we could silence this warning? Thanks.

Non-ASCII Characters

Seems like the parser eats non-ASCII Characters outside of the tokens.

For example:
@"This is *italic*, **bold**, änd ***böld italic***."

becomes

This is italic, bold, nd _böld italic_.

Link in text can cause crash

We had the following text in markdown:

If not, see <http://www.gnu.org/licenses/>.

This was recognised as an URL, but NRURL url with string returned nil. this causes an exception to be thrown in addLinksToAttributedString

Some features don't work as you mentioned

Here is the string I used:

This is __rad__ and *this* is another ~~guy~~ \n # Header 1 [Text] (http://google.com 'alt text') urls

Then I passed it to my label's attributedText like this:
self.label.attributedText = string

The header, the link doesn't work at all. Any idea?

Font caching currently doesn't work

...because the cache dictionary never gets initialized. I just had a quick look but there are more memory problems, because otherwise the parser crashes. will have to dig deeper.

#if instead of #ifdef?

It seems like all #ifdef TARGET_OS_… should be replaced with #if (TARGET_OS_…).
All TARGET_OS_… are defined, some of them just set to 0 and some to 1.
What do you think?

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.