This project provides Creative Commons licenses in AsciiDoc.
By default, these licenses are available as HTML or plain text. This project aims to provide these licenses written in a markup language which has both the document structure and human-readability. I think Markdown is more popular than AsciiDoc as a lightweight markup language, but I chose AsciiDoc because these licenses written in Markdown already exist, it can get closer to the HTML’s document structure than Markdown, and I personally prefer Markdown to AsciiDoc.
This project is inspired by https://github.com/idleberg/Creative-Commons-Markdown.
This project provides version 4.0 of the Creative Commons license suite and CC0 in English. For details about Creative Commons licenses, see https://creativecommons.org/share-your-work/cclicenses/.
- CC BY 4.0
- CC BY-SA 4.0
- CC BY-NC 4.0
- CC BY-NC-SA 4.0
- CC BY-ND 4.0
- CC BY-NC-ND 4.0
- CC0 1.0
Note
|
The licenses in PDF are available on the release page. |
The AsciiDoc-formatted Creative Commons licenses are dedicated to the public domain under the CC0 Public Domain Dedication as well as the text of the Creative Commons public licenses.
The licenses are compliant with the AsciiDoc Language Documentation. These can be converted to other formats using Asciidoctor.
Tip
|
The licenses can also be handled by AsciiDoc.py, but it is recommended to use Asciidoctor to properly handle them. |
asciidoctor assets/CC-BY-4.0.adoc
asciidoctor-pdf assets/CC0-1.0.adoc
For details about the available converters, see https://docs.asciidoctor.org/asciidoctor/latest/convert/available/.
If you want to convert to a file format which does not have a converter, you may be able to use Pandoc.
asciidoctor -b docbook5 -o - -a leveloffset=+1 assets/CC-BY-SA-4.0.adoc \
| pandoc -f docbook -t gfm \
> CC-BY-SA-4.0.md
Important
|
It may be desirable to tidy up the output file of Pandoc. |
The upstream repository is available at https://github.com/sorairolake/creative-commons-asciidoc.git.
Please see CHANGELOG.adoc.
Please see CONTRIBUTING.adoc.
-
Copyright © 2009 Creative Commons
-
Copyright © 2024 Shun Sakai
Unless otherwise noted, the contents of this repository are distributed under the terms of the CC0 1.0 Universal.
This project is compliant with version 3.2 of the REUSE Specification. See copyright notices of individual files for more details on copyright and licensing information.