Html
questions tagged ‘Html’
Issue with JavaScript in my post?
I've picked up blot because I really like taking notes in Obsidian, and your site seemed like an amazing alternative to their publishing service, really enjoying it so far. I use quite a few javascript extensions in my notes, things like Mermaid.js and most recently jTab for Guitar Tablature. I was wondering if there was a way to incorporate these into my posts? I've converted a markdown (.md file) to HTML, and have the requisite javascript calls in the header of the file, but it seems no matter which way I try to get the calls to jTab working, it never does. Just viewing the .html file in browser everything renders as expected, but not in the post on blot. Is there just no support for Javascript in your HTML files? Or is there some other backend thing I need to do to get things working? I'd really like to not have to snip seperate pictures of everything I have rendered in my notes through JS stuff, as I'll probably end up having quite a bit as my post count grows.
Share HTML page with custom CSS/JS?
Is there a way to share an html page that is totally standalone from the rest of the site? Like I made a little webpage that is a kind of webtoy, but if I try and share it in one of my blot folders it doesn't work properly because blot renders it within the entry.html stylings etc. (which I understand cos it's rendered in the {{{html}}} block of the template). Is there a workaround to get blot to not render any other html/css/js other than what this html file is telling it to? Or would I have to host it elsewhere and link to it from my blog?