-
Notifications
You must be signed in to change notification settings - Fork 146
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
shortcode HTML seems to be filtered out #76
Comments
Can you share how you're using the note shortcode? There are examples of using most of the reveal-hugo features, including sections and notes, here in these files: https://github.com/dzello/reveal-hugo/blob/master/exampleSite/content/_index.md I'd recommend taking a look there and doing a diff against what you have to see if anything jumps out. |
If I Likewise, the fragment demos also work. The usage of these things is quite simple (I've even cut/paste the notes from I started with the programming quotes presentation and welded on a few bits, including the menu plugin and a custom style. There's been a bit of cargo-cultish cut-and-paste. I'll try to keep diffing, or put together a sanitized version that I can share. I'll keep plugging away. |
Adding this # currently only the unsafe mode for goldmark is supported
[markup.goldmark.renderer]
unsafe = true to the top level <p><span class='fragment '</p>
<blockquote>
</blockquote>
<p>you could move it, but it'll cost you.
</span></p> (from the view source window). |
Ok, after restarting the browser fragments are also working (modulo the difficulty doing bulleted lists that mentioned in #36). |
Glad you were able to get it working. The line about goldmark is newer and needs to be in the README, I will add that now, thanks for helping me catch that. |
Ah, weird. Turns out that fragments don't seem to work inside sections.... Gotta balance making progress on the presentation and debugging around this, but will keep trying.... |
Ah yuck, that could be a regression or a bug we hadn't seen yet. I wonder if trying the different the hugo shortcode syntaxes would make a difference. |
This syntax has the same problem:
|
I'm having trouble making the notes and fragments shortcodes work.
When I use the note shortcode, I end up with this in the output (via dev window or w/in the public directory):
When I use the fragment shortcode, the end up with dangerous characters being escape, so there are things like
< span> ....
Am I missing a configuration setting somewhere?
The text was updated successfully, but these errors were encountered: