0.0.6 • Published 4 years ago

@feelpp/asciidoctor-remote-include-processor v0.0.6

Weekly downloads
23
License
MIT
Repository
github
Last release
4 years ago

= :rocket: Asciidoctor Remote Include Processor Extension :uri-asciidoctorjs: https://github.com/asciidoctor/asciidoctor.js

ifdef::env-github[] image:https://github.com/feelpp/asciidoctor-remote-include-processor/workflows/npm-publish/badge.svg[npm-publish] image:https://img.shields.io/npm/v/@feelpp/asciidoctor-remote-include-processor[npmjs version, link=https://www.npmjs.com/package/@feelpp/asciidoctor-remote-include-processor] endif::[]

An extension for {uri-asciidoctorjs}Asciidoctor.js that allows to include remote files.

This is useful in antora.orgAntora which does not enable this asciidoctor feature, see discussion https://gitlab.com/antora/antora/-/issues/246[here].

== Install

Install the dependencies:

$ npm install asciidoctor.js asciidoctor-remote-include-processor

== Usage

=== Register as an Asciidoctor extension in the Antora playbook of your website

source,yaml

asciidoc: extensions:

  • "@feelpp/asciidoctor-remote-include-extension"

=== Include a remote file

In an Antora adoc page, include a remote file

[source,cpp]
----
include::https://raw.githubusercontent.com/feelpp/asciidoctor-remote-include-processor/master/test/helloworld.cpp[]
----

.code here

source,cpp

include::https://raw.githubusercontent.com/feelpp/feelpp/develop/feelpp/quickstart/qs_laplacian.cpp[tag=env]


More details are available in the https://feelpp.github.io/asciidoctor-remote-include-processor/adoc-rip/latest/index.html[documentation].

== Acknowledgments

and of course

0.0.5

4 years ago

0.0.6

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago