Update strapdown.js to support custom squirts and copyrights using the <squirt> and <copyright> tags in <head>. #11
Reference in New Issue
Block a user
No description provided.
Delete Branch "ElnuDev/master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #10. Minified file needs to be updated.
My apologies if I've done something wrong, this is my first pull request on GitHub!
Oh, that's an interesting trick!
Can you please show a screenshot of how it looks on one of your page, with/without both and tags?
I'll try it myself, then merge your pull-request, and update the minified files.
I would also like to note that if HTML purists see your custom and tags, they won't be happy about them, but I don't care.
Thanks for taking a look!
Here's my page with

<squirt>
and<copyright>
:Here's my page without

<squirt>
and<copyright>
:I'm not sure, perhaps it would be better just to have one tag (
<subtitle>
, perhaps?) that allows complete customizability and covers the whole section, instead of being forced to used<squirt>
and<copyright>
.I like your approach, as it allows to customize the location and content of the copyright notice.
I would also like to add an option, that works like the others currently supported by StrapDown.js :
see this page for more details : https://naereen.github.io/StrapDown.js/example5.html
I'll do it myself, probably adding
nosquirt=y
andnocopyright=y
. Except if you have a better suggestion?(I'll wait for a reply before merging this PR and adding my idea of these two tiny options)
That sounds like a good idea! It's certainly cleaner than only being able to have empty
<squirt>
and<copyright>
tags, which is the only way to remove the squirt and copyright in the system I set up.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.