:scroll: A JavaScript port of Asciidoctor, a modern implementation of AsciiDoc
This release is based on Asciidoctor 2.0.22 and Opal 0.11.99.dev (31d26d69).
Released on: 2024-03-17 Released by: @ggrossetie Published by: GitHub Actions
Logs: full diff
This release is based on Asciidoctor 2.0.20 and Opal 1.7.3 and fixes a regression introduced in 3.0.3.
Released on: 2024-02-12 Released by: @ggrossetie Published by: GitHub Actions
Logs: full diff
Full Changelog: https://github.com/asciidoctor/asciidoctor.js/compare/v3.0.3...v3.0.4
This release is based on Asciidoctor 2.0.20 and Opal 1.7.3.
Released on: 2024-01-13 Released by: @ggrossetie Published by: GitHub Actions
Logs: full diff
package.json
- thanks @sinediedcontext
and node_name
accessor in the type definition - thanks @RayOffiahFull Changelog: https://github.com/asciidoctor/asciidoctor.js/compare/v3.0.2...v3.0.3
This release is based on Asciidoctor 2.0.20 and Opal 1.7.3.
Released on: 2023-06-24 Released by: @ggrossetie Published by: GitHub Actions
Logs: full diff
Remove Asciidoctor
namespace in TypeScript:
import asciidoctor, { Document } from '@asciidoctor/core'
const Asciidoctor = asciidoctor()
Asciidoctor.convert('Hello _world_')
Publish @asciidoctor/core
as an ES6 module
Document.append
(#1681)getSectionNumeral()
function by @benjaminleonard (#1659)getDocinfo
and findBy
type definition (#1621)parseContent
now calls toHash
on attrs (#1519)Map this.super.<method>
to call the parent function (#1682)
Map AbstractBlock.getContentModel
and AbstractBlock.setContentModel
(#1680)
Map Document.getSyntaxHighlighter
(#1667)
Map CompositeConverter#convert
(#1649)
Simplify table option checks by @mojavelinux (#1656)
Support Stream.Writable as to_file
(#1624)
const data = []
const writableStream = new Writable({
write (chunk, encoding, callback) {
data.push(chunk.toString())
callback()
}
})
const doc = Asciidoctor.convert(text, { to_file: writableStream, safe: safe })
const html = data.join('')
convert()
on return value of process method for inline macro extension by @mojavelinux (#1653)Same as https://github.com/asciidoctor/asciidoctor.js/releases/tag/v3.0.0-alpha.3, tweak a few things regarding the release/publish process.
This release is based on Asciidoctor 2.0.17 and Opal 0.11.99.dev (31d26d69).
Released on: 2022-01-21 Released by: @Mogztter Published by: GitHub Actions
Logs: full diff
:book: API documentation :books: User Manual
This release is based on Asciidoctor 2.0.16 and Opal 0.11.99.dev (31d26d69).
An internal change was made to how lines are iterated by the reader (switching from a stack to a queue), which will substantially improve the performance when processing large files. Please note that this change should be seamless unless you were accessing the lines property on the reader directly.
Released on: 2021-08-08 Released by: @Mogztter Published by: GitHub Actions
Logs: full diff
:book: API documentation :books: User Manual
LoggerManager#setLogger
setter - thanks @mojavelinux (#1322)npm audit fix