Skip to content

Commit

Permalink
Merge pull request #291 from Mogztter/asciidoctor-org
Browse files Browse the repository at this point in the history
Publish the node package to the @asciidoctor organization
  • Loading branch information
obilodeau authored Dec 26, 2019
2 parents dde92ec + 1152c50 commit 5b22f45
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ endif::[]
ifdef::env-github[]
image:https://travis-ci.org/asciidoctor/asciidoctor-reveal.js.svg?branch=master[Build Status,link=https://travis-ci.org/asciidoctor/asciidoctor-reveal.js]
image:http://img.shields.io/gem/v/asciidoctor-revealjs.svg[gem, link=https://rubygems.org/gems/asciidoctor-revealjs]
image:http://img.shields.io/npm/v/asciidoctor-reveal.js.svg[npm, link=https://www.npmjs.org/package/asciidoctor-reveal.js]
image:http://img.shields.io/npm/v/@asciidoctor/reveal.js.svg[npm, link=https://www.npmjs.org/package/@asciidoctor/reveal.js]
endif::[]

// IMPORTANT: Changes made to this description should be sync'ed with the readme field in package.json.
Expand Down Expand Up @@ -143,7 +143,7 @@ If you don't have a `package.json` file in your project directory, you can creat

You can now install the dependencies:

$ npm i --save asciidoctor asciidoctor-reveal.js
$ npm i --save asciidoctor @asciidoctor/reveal.js

=== Convert AsciiDoc into slides

Expand Down Expand Up @@ -182,11 +182,11 @@ If you don't have an existing presentation, you can create a sample presentation

To convert the sample presentation into slides, open a terminal and type:

$ $(npm bin)/asciidoctor -r asciidoctor-reveal.js -b revealjs presentation.adoc
$ $(npm bin)/asciidoctor -r @asciidoctor/reveal.js -b revealjs presentation.adoc

On windows, open PowerShell and type:

$ .\node_modules\.bin\asciidoctor.cmd -r asciidoctor-reveal.js -b revealjs presentation.adoc
$ .\node_modules\.bin\asciidoctor.cmd -r @asciidoctor/reveal.js -b revealjs presentation.adoc

The above command will generate a file named [.path]_presentation.html_.
You can open this file in a browser.
Expand All @@ -200,7 +200,7 @@ Alternatively, you can use the JavaScript API to register the converter and conv
----
// Load Asciidoctor.js and the reveal.js converter
var asciidoctor = require('@asciidoctor/core')()
var asciidoctorRevealjs = require('asciidoctor-reveal.js')
var asciidoctorRevealjs = require('@asciidoctor/reveal.js')
asciidoctorRevealjs.register()
// Convert the document 'presentation.adoc' using the reveal.js converter
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "asciidoctor-reveal.js",
"name": "@asciidoctor/reveal.js",
"version": "3.0.0-dev",
"description": "A reveal.js converter for Asciidoctor.js. Write your slides in AsciiDoc!",
"main": "dist/main.js",
Expand Down

0 comments on commit 5b22f45

Please sign in to comment.