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

Fix #54 #55

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

Fix #54 #55

wants to merge 1 commit into from

Conversation

sdruskat
Copy link

Rendering of markdown inside an HTML block tag is disallowed per default (<figcaption> is per default rendered as a block by most browsers, cf. http://www.w3schools.com/tags/tag_figcaption.asp). In order to allow markdown to be rendered, kramdown has the attribute markdown which can be set to 1 to allow rendering. Hence, this commit adds a span with markdown='1' to the <figcaption> tag in main_column_img.rb. Cf. also http://stackoverflow.com/a/35276926/731040.

Rendering of markdown inside an HTML block tag is disallowed per default (<figcaption> is per default rendered as a block by most browsers, cf. http://www.w3schools.com/tags/tag_figcaption.asp). In order to allow markdown to be rendered, kramdown has the attribute "markdown" which can be set to "1" to allow rendering. Hence, this commit adds a span with "markdown='1'" to the <figcaption> tag in main_column_img.rb. Cf. also http://stackoverflow.com/a/35276926/731040.
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.

1 participant