Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start on rendering blocks #16

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

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.

@@ -9,4 +9,6 @@ end
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