https://github.com/ctron/asciidoctor-web
Asciidoctor.js bindings for Rust
https://github.com/ctron/asciidoctor-web
asciidoc asciidoctor wasm wasm-bindgen web yew
Last synced: 17 days ago
JSON representation
Asciidoctor.js bindings for Rust
- Host: GitHub
- URL: https://github.com/ctron/asciidoctor-web
- Owner: ctron
- License: apache-2.0
- Created: 2023-02-22T09:46:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-22T10:04:55.000Z (over 3 years ago)
- Last Synced: 2025-02-23T11:17:47.520Z (over 1 year ago)
- Topics: asciidoc, asciidoctor, wasm, wasm-bindgen, web, yew
- Language: JavaScript
- Homepage:
- Size: 491 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rust bindings for Asciidoctor.js in WASM
[](https://crates.io/crates/asciidoctor-web)
[](https://docs.rs/asciidoctor-web)
> Asciidoctor is a fast, open source, Ruby-based text processor for parsing AsciiDoc® into a document model and converting it to output formats such as HTML 5, DocBook 5, manual pages, PDF, EPUB 3, and other formats.
This crate provides WASM bindings for running Asciidoctor `convert` from a Rust, WASM application (like a web page).
It also provides (optional) direct integration with Yew by providing an `Asciidoc` Yew component.
## Updating the JS dependency
Go to `js/hell` and update the `package.json` and/or `package-lock.json` file. Re-run the build using `npm run build`.
If everything works, commit the output and run a build/release.