Since I like Jstar and the fountain markup language so much, I jumped to try out AsciiDoc and its compiler/parser, AsciiDoctor. Originally I wanted to use it to make ePub books and I've had some success doing that (and making PDF documents), but I found its primary purpose for writing HTML and that's where I've been spending most of my time — enough time where I've signed up for a free hosting service just to try it out.
I wanted to see if I could host my short screenplays on the website and found out that it's incredibly easy to do so. Just five lines and I was able to create an adequate web page for a short script — I pasted in the formatted text screenplay (just as you would do it here).
That was it. And it results in this ...
https://oldreaders.000webhostapp.com/claws2.html
Nothing fancy, but a well formatted script on a web page.
Two equal "==" marks, bigger header. Three = smaller. Four = smaller yet. (Title is one.) Asterisks = BOLD, (underscore would equal italic). Four hyphens tell it to set off a "literal" block (retain format) with monospace characters. That's it.
Name the text files filename.adoc, compile them with AsciiDoctor ...
You can do a lot more with AsciiDoc (and AsciiDoctor), including embedding images, videos (all media), creating tables, bullets, quotes ... etc. Setting up a table of contents (which each section is automatically added and linked to its section is done simply by putting ...
... near the top of the document. You can also put it at the right side or left side by typing :toc: left or :toc: right and table of content levels are chosen using :toclevels: 4 (or 2, which is the default, or 3 or more).
A great way to waste time.
I wanted to see if I could host my short screenplays on the website and found out that it's incredibly easy to do so. Just five lines and I was able to create an adequate web page for a short script — I pasted in the formatted text screenplay (just as you would do it here).
Code:
== *Claws* === ©Centos ==== 5 page short. Romance/fantasy genre ---- FADE IN: INT. KITCHEN — NIGHT A slight breeze ... (rest of script) ----
https://oldreaders.000webhostapp.com/claws2.html
Nothing fancy, but a well formatted script on a web page.
Two equal "==" marks, bigger header. Three = smaller. Four = smaller yet. (Title is one.) Asterisks = BOLD, (underscore would equal italic). Four hyphens tell it to set off a "literal" block (retain format) with monospace characters. That's it.
Name the text files filename.adoc, compile them with AsciiDoctor ...
Code:
asciidoctor -b html5 filename.adoc
Code:
:toc:
A great way to waste time.
Comment