keitaoouchi / MarkdownView

Markdown View for iOS.
MIT License
1.97k stars 206 forks source link

Add non styled option #84

Closed keitaoouchi closed 2 years ago

keitaoouchi commented 2 years ago

In 1.8.0, an experimental styling option is introduced. It's convenient if we have a non-styled base webView when fully customize its styling.

let markdownView = Markdown(css: yourFullCustomizedCss, plugins: nil, styled: false)
markdownView.show(markdown: someMarkdown)

or,

let markdown = Markdown()
markdown.load(markdown: someMarkdown, css: yourFullyCustomizedCss, styled: false)