You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the need for the header element to have a specific line height (added as an NSAttributedString attribute during parsing). I'm not seeing a straightforward way to do this. Have thought about:
Subclass MarkdownHeader and replace MarkdownParser.header with subclass instance. However, MarkdownParser.header is defined with let and can't be updated.
I could add a custom element with the same regex to replace the header-defined text before the default element could parse it. However, custom elements are currently parsed after default elements.
Are there other solutions I'm not seeing. If I were to fork, is there a suggested option that would be more acceptable to a pull request back into core project?
Thanks for all the work so far. Like having a lightweight and Swift option for Markdown.
josh jacob
The text was updated successfully, but these errors were encountered:
Hey, sorry for the really long delay responding, I'm closing this issue due to inactivity, but, you are welcomed to contribute with a solution for this!
I have the need for the header element to have a specific line height (added as an NSAttributedString attribute during parsing). I'm not seeing a straightforward way to do this. Have thought about:
Subclass MarkdownHeader and replace MarkdownParser.header with subclass instance. However, MarkdownParser.header is defined with let and can't be updated.
I could add a custom element with the same regex to replace the header-defined text before the default element could parse it. However, custom elements are currently parsed after default elements.
Are there other solutions I'm not seeing. If I were to fork, is there a suggested option that would be more acceptable to a pull request back into core project?
Thanks for all the work so far. Like having a lightweight and Swift option for Markdown.
The text was updated successfully, but these errors were encountered: