You’ll need the insert headers and footers plugin and then put the following in the footer. As the mount is done before the page bottom, there maybe problems with some aspects. In any pages or postings it then becomes possible to incorporate your own tag objects, and refer to them in a type definition. As the service of such “types” has to be free of certain HTML concerns, it’s likely a good idea to set up a github repo to store your types. CSS via less is in the compiler.
<script src="https://rawgit.com/jackokring/riot-embed/master/less.min.js"></script> <script src="https://rawgit.com/jackokring/riot-embed/master/riot%2Bcompiler.min.js"></script> <script src="https://rawgit.com/jackokring/riot-embed/master/underscore.min.js"></script> <script> riot.mount('*'); </script>
Below should appear a timer … The visual editor can make your custom tags disappear.
Produced by the following …
<timer></timer> <script src="hhttps://rawgit.com/jackokring/riot-embed/master/timer.tag" type="riot/tag"></script>
Or with the shortcoder plugin this becomes … in any post …
[sc name="riot" tag="timer"]
And … once in the shortcoder editor
<%%tag%%></%%tag%%> <script src="https://rawgit.com/jackokring/riot-embed/master/%%tag%%.tag" type="riot/tag"></script>
Next up storing PON …