Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grobmeier/asciidoc-to-word
https://github.com/grobmeier/asciidoc-to-word
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/grobmeier/asciidoc-to-word
- Owner: grobmeier
- Created: 2023-05-10T10:04:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-11T19:39:11.000Z (12 months ago)
- Last Synced: 2024-11-05T16:28:49.815Z (about 2 months ago)
- Language: Shell
- Size: 6.84 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: funding.yml
Awesome Lists containing this project
README
# Asciidoc to Word
## Ideas
Thanks to this blog post, I was able to write a Docker container that can convert asciidoc to word:
https://rmoff.net/2020/04/16/converting-from-asciidoc-to-google-docs-and-ms-word/## Usage
Please make sure Docker is running on your computer.
Then create a Docker image in this folder using this commando:
```
docker build --no-cache -t grobmeier/asciidoc-to-word -f ./Dockerfile .
```Then run the container with this command:
```
docker run --rm --mount type=bind,src=$PWD,dst=/root/build -it grobmeier/asciidoc-to-word
```You can also use the create-docker-container.sh or create-word.sh files to run the commands.
## Choose a different theme for code highlighting
Currently, Espresso is the default code highlighter.
To create your Word documents with different highlighters, please run
the following command:```
./create-word-with-theme.sh tango test.adoc
```You can replace `tango` with:
* tango
* haddock
* espresso
* zenburn
* kate
* monochrome
* breezedark