Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Hi,
By default, asciidoc uses the following javascript files : - asciidoc.js - ASCIIMathML.js - LaTeXMathML.js - slidy.js - toc.js (deprecated since asciidoc 8.5.1 and replaced by asciidoc-xhtml11.js Do we use them with asciidoctor (or in a modified way) as I just see reference to highlight, prettify & mathjax javascript in html5.rb file ?
Charles Moulliard
Apache Committer / Technologist Evangelist / Blogger / MiddleWare Specialist Twitter : @cmoulliard |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Others can further clarify my answer.
Asciidoctor I believe uses a math JS or latex js file for displaying math functions in 0.1.4.
Slidy would only be used in a back end for creating slidy decks. We don't need the other JavaScript libraries because we do the other work in the backends. The highlight and prettify are used for client side code highlighting.
—
Sent from Mailbox for iPhone On Mon, Nov 18, 2013 at 4:25 AM, ch007m [via Asciidoctor :: Discussion] <[hidden email]> wrote:
... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
|
In reply to this post by ch007m
Asciidoctor does not share any code with AsciiDoc because of license incompatibility. Asciidoctor is MIT, AsciiDoc is GPLv2. Asciidoctor also takes a different approach that eliminates the need for several of the JavaScript files. Both asciidoc.js and toc.js are hacks that add features via JavaScript that AsciiDoc isn't able to add when processing the file. Since Asciidoctor builds an AST, it's able to generate output like the table of contents during rendering. The Math JavaScript files have been rolled into MathJax, which Asciidoctor integrates with as of the next release (currently in HEAD). Asciidoctor uses several new JavaScript files, such as highlight.js and prettify, as you have observed. The short answer is, no, Asciidoctor doesn't use any of the JavaScript files included in AsciiDoc. -Dan On Mon, Nov 18, 2013 at 4:23 AM, ch007m [via Asciidoctor :: Discussion] <[hidden email]> wrote: Hi, ... [show rest of quote] -- Dan Allen | http://google.com/profiles/dan.j.allen |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
I think that what you describe here should benefit to the community and specifically AsciidocTor documentation section (http://asciidoctor.org/docs/user-manual/#compared-to-asciidoc)
On Sun, Nov 24, 2013 at 11:52 PM, mojavelinux [via Asciidoctor :: Discussion] <[hidden email]> wrote:
... [show rest of quote] Charles Moulliard Apache Committer / Architect @RedHat Twitter : @cmoulliard | Blog : http://cmoulliard.github.io
Charles Moulliard
Apache Committer / Technologist Evangelist / Blogger / MiddleWare Specialist Twitter : @cmoulliard |
Free forum by Nabble | Edit this page |