docx_cr_converter
Version, currently 0.0.12 versions
- 0.0.2latestJun 22, 2023
- 0.0.1not indexedJun 22, 2023
github.com/aristotelesbr/docx_cr_converter
Converter .DOCX to many formats
11 stars
0 dependents
License: MIT
Nothing has been indexed for 0.0.1 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
docx_cr_converter:
github: aristotelesbr/docx_cr_converter
version: ~> 0.0.1Then run:
shards installshard.yml
No shard.yml has been indexed for 0.0.1. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
[](https://travis-ci.org/aristotelesbr2014/docx_cr_converter)
# docx_cr_converter
This tool initially extract text and simple markings from a .DOCX file and convert it to markdow format.
## Instal
Add this to your application's shard.yml:
```yml
development_dependencies:
docx_cr_converter:
github: aristotelesbr/docx_cr_converter
```
## Usage
```cr
require "docx_cr_converter"
docx = DocxCrConverter::Parser.new("./spec/fixtures/valid.docx")
docx.parse
puts docx.document
```
Output:
```md
# Lorem ipsum
# + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc ac faucibus odio.
Vestibulum neque massa, scelerisque sit amet ligula eu, congue molestie mi. Praesent ut varius sem. Nullam at portti
tor arcu, nec lacinia nisi. Ut ac dolor vitae odio interdum condimentum. Vivamus dapibus sodales ex, vitae malesuada
ipsum cursus convallis. Maecenas sed egestas nulla, ac condimentum orci. Mauris diam felis, vulputate ac suscipit e
t, iaculis non est. Curabitur semper arcu ac ligula semper, nec luctus nisl blandit. Integer lacinia ante ac libero
lobortis imperdiet. Nullam mollis convallis ipsum, ac accumsan nunc vehicula vitae. Nulla eget justo in felis tristi
que fringilla. Morbi sit amet tortor quis risus auctor condimentum. Morbi in ullamcorper elit. Nulla iaculis tellus
sit amet mauris tempus fringilla.
Maecenas mauris lectus, lobortis et purus mattis, blandit dictum tellus.
+ Maecenas non lorem quis tellus placerat varius.
+ Nulla facilisi.
+ Aenean congue fringilla justo ut aliquam.
+ Nunc vulputate neque vitae justo facilisis, non condimentum ante sagittis.
+ Morbi viverra semper lorem nec molestie.
+ Maecenas tincidunt est efficitur ligula euismod, sit amet ornare est vulputate.
```
## TODO
- [x] Converter `.DOCX`
- [x] `Markdown`
- [ ] `HTML`
## Contributing
1. Fork it (<https://github.com/your-github-user/docx_cr_converter/fork>)
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request
## Contributors
- [Aristoteles Coutinho](https://github.com/aristotelesbr2014) - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.0.1- Tagged
- Jun 22, 2023
- Commit
fac7ecb497ff- Indexed
- not yet
Dependents
No indexed shard depends on this one yet.
Repository
github.com/aristotelesbr/docx_cr_converter
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 13, 2026
- Versions
- 2