8000 GitHub - bilqisium/CommonMarkGFM
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

bilqisium/CommonMarkGFM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CommonMarkGFM

CommonMarkGFM is an extra thin wrapper around cmark-gfm. Its purpose is to expose this C library to iOS projects, and be compatible out of the box with Carthage dependency manager.

You can add this dependency in your Cartfile:

github "benmuta/CommonMarkGFM"

Then, in any Swift source file:

import CommonMarkGFM

You would then have the cmark-gfm C library exposed and available to call from Swift.

For instance:

let markdownSource = "Lorem __ipsum dolor__ sit [amet](https://example.com). - *2018*"
let htmlCString = cmark_markdown_to_html(markdownString, markdownString.utf8.count, 0)

Current version of cmark-gfm: 0.28.3.gfm.12.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0