-
Notifications
You must be signed in to change notification settings - Fork 16
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
Any tips for post processing the output of this code? #38
Comments
The short answer is "no", there certainly aren't any built in hooks to do this. You can just embed raw html into your .md files and it will be placed verbatim into the HTML output. e.g. just place <iframe width="560" height="315" src="https://www.youtube.com/watch?v=dQw4w9WgXcQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> into your I don't think I want to stray too far from what If you want to propose (and build & test) a hook system then I'd be open to the idea. Alternatively I guess you could just fork this gem and build in your own processors :) I'll leave this open for a few days, or, feel free to close it if you decide not to build the hook system :) |
Thanks for getting back. I found a way to do this. Basically, it's this:
|
Ah nice work :) yes, that'd work perfectly. |
Thanks for this module.
Once the ruby script does its thing, I'd like to process the text some more. For example, I wish to convert hyperlinks to a youtube video to youtube's embed code. Is there some kind of hook or other method for doing this kind of thing?
The text was updated successfully, but these errors were encountered: