Skip to content

Conversation

amarraja
Copy link

A quick start on some implementations of as_html

Nothing comprehensive, just a quick start for what I need at the moment, may be useful for others.

defimpl Span, for: Span.Em do
# TODO
def serialize(_, _link_resolver), do: ""
def open_tag(_span), do: "<i>"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe "em" tag would be more appropriate her, see ruby implentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants