All Projects β†’ darshandsoni β†’ Asciidoctor Skins

darshandsoni / Asciidoctor Skins

Licence: mit
Control how your asciidoctor powered documentation looks

Projects that are alternatives of or similar to Asciidoctor Skins

Best Of
πŸ† Discover best-of lists with awesome open-source projects on all kinds of topics.
Stars: ✭ 146 (-21.08%)
Mutual labels:  collection
Deepdiff
πŸ¦€Amazingly incredible extraordinary lightning fast diffing in Swift
Stars: ✭ 1,995 (+978.38%)
Mutual labels:  collection
Xresources Themes
A big (huge) collection of rxvt / xterm terminal themes
Stars: ✭ 174 (-5.95%)
Mutual labels:  collection
Infoq Mini Book
Template project for creating an InfoQ Mini-Book with Asciidoctor
Stars: ✭ 147 (-20.54%)
Mutual labels:  asciidoctor
Asciidoctor Browser Extension
βšͺ️ An extension for web browsers that converts AsciiDoc files to HTML using Asciidoctor.js.
Stars: ✭ 152 (-17.84%)
Mutual labels:  asciidoctor
Fpgo
Monad, Functional Programming features for Golang
Stars: ✭ 165 (-10.81%)
Mutual labels:  collection
Opensourcegames
Infos and build tips for open source games.
Stars: ✭ 144 (-22.16%)
Mutual labels:  collection
Build
B2 makes it easy to build C++ projects, everywhere.
Stars: ✭ 182 (-1.62%)
Mutual labels:  asciidoctor
Sortedarray
An array that keeps its elements sorted according to a given sort predicate.
Stars: ✭ 155 (-16.22%)
Mutual labels:  collection
Polybar Collection
Beautiful collection of Polybar themes
Stars: ✭ 172 (-7.03%)
Mutual labels:  collection
Awesome Cae
A curated list of awesome CAE frameworks, libraries and software.
Stars: ✭ 148 (-20%)
Mutual labels:  collection
Ebook Template
Template to create PDF, ePub and Kindle books with Asciidoctor
Stars: ✭ 150 (-18.92%)
Mutual labels:  asciidoctor
Asciidoctor Epub3
πŸ“˜ Asciidoctor EPUB3 is a set of Asciidoctor extensions for converting AsciiDoc to EPUB3 & KF8/MOBI
Stars: ✭ 166 (-10.27%)
Mutual labels:  asciidoctor
Awesome Doctrine
A collection of useful Doctrine snippets.
Stars: ✭ 147 (-20.54%)
Mutual labels:  collection
Awesome Virtual Try On
A curated list of awesome research papers, projects, code, dataset, workshops etc. related to virtual try-on.
Stars: ✭ 175 (-5.41%)
Mutual labels:  collection
Awesome Ruby
πŸ’Ž A collection of awesome Ruby libraries, tools, frameworks and software
Stars: ✭ 11,838 (+6298.92%)
Mutual labels:  collection
Ploop
Prototype Lua object-oriented program system, with many modern features like attribute, overload, etc. For Lua 5.1 or above, include luajit
Stars: ✭ 163 (-11.89%)
Mutual labels:  collection
Shokoserver
Repository for Shoko Server.
Stars: ✭ 184 (-0.54%)
Mutual labels:  collection
Ansible Collection Hardening
This Ansible collection provides battle tested hardening for Linux, SSH, nginx, MySQL
Stars: ✭ 2,543 (+1274.59%)
Mutual labels:  collection
Sbt Site
Site generation for sbt
Stars: ✭ 166 (-10.27%)
Mutual labels:  asciidoctor

// Settings: :experimental: ifndef::env-github[:icons: font] ifdef::env-github,env-browser[] endif::[] ifdef::env-github[] :caution-caption: πŸ”₯ :important-caption: ❗️ :note-caption: πŸ“Ž :tip-caption: πŸ’‘ :warning-caption: ⚠️ endif::[]

= asciidoctor-skins: CSS stylesheets for asciidoctor

Markdown is superbly simple. Perfect for writing quick notes and pages with a basic structure. Asciidoctor is superbly sophisticated. Where markdown fails, asciidoc/asciidoctor allows you to document things with ease, fine grain control and a civilised demeanor, worlds away from hair wrenching word processors.

Asciidoctor comes with a very clean default stylesheet that saves users from spending time formatting their documents. This repository is for users who would like some other style choices, without having to rewrite stylesheets from scratch. All stylesheets in here pull in asciidoctor's defaults first and then apply custom styles to a few elements.

== Usage If you have no idea what asciidoctor is, check out their fabulous project https://asciidoctor.org/[here].

IMPORTANT: Once you've got an .adoc document going, download the link:css/asciidoctor.css[asciidoctor.css] file and a css skin file of your choice into your project directory.

  1. In your .adoc file, add the following line: :stylesheet: Your_Chosen_Stylesheet.css
  2. Render your html file by running asciidoctor sample.adoc
  3. Et voilΓ ! Your beautiful web page based document is rendered.

== Demo

You can preview all of the stylesheets in the https://darshandsoni.com/asciidoctor-skins[online demo].

To change the displayed stylesheet, just add the name of the CSS file after a ? character at the end of the URL. For example, to preview the material stylsheet, just add ?material.

== Custom preview

You can now add a JS switcher to any document to quickly preview the contents rendered with any of the available asciidoctor skins. Just add the following line to the <body> section of any asciidoctor-generated HTML page:

<script src="https://darshandsoni.com/asciidoctor-skins/switcher.js" type="text/javascript"></script>

== Skins

Note: To preview all of them, visit the https://darshandsoni.com/asciidoctor-skins/screenshots/[screenshots] page.

Available stylesheets:

NOTE: the https://darshandsoni.com/asciidoctor-skins/?template[template] skin is specifically designed as an aid for theming experiments, to make it easier to see the sections of the document affected by different CSS classes.

=== Additional themes

=== Collections

Adoc skins, based on the official https://themes.asciidoctor.org/preview/[Asciidoctor themes site] by the Asciidoctor project (https://github.com/asciidoctor/asciidoctor-stylesheet-factory/blob/master/LICENSE[MIT]):

Bootswatch skins, based on https://github.com/thomaspark/bootswatch/[bootswatch] by @thomaspark (https://github.com/thomaspark/bootswatch/blob/gh-pages/LICENSE[MIT]):

Material skins, by @darshandsoni:

== Bookmarklet

You can quickly and easily test out how different themes look with a given document using the asciidoctor-skins bookmarklet. This will add a dropdown menu at the top of the page with all the different available themes. Just paste the following code into your address bar to create a CSS switcher for any Asciidoctor-generated document:

[source,javascript]

javascript:(function()%7Bvar%20body%20%3D%20document.getElementsByTagName('body')%5B0%5D%3Bscript%20%3D%20document.createElement('script')%3Bscript.type%3D%20'text%2Fjavascript'%3Bscript.src%3D%20'https%3A%2F%2Fdarshandsoni.com%2Fasciidoctor-skins%2Fswitcher.js'%3Bbody.appendChild(script)%7D)()

Alternatively, just drag the link on the https://darshandsoni.com/asciidoctor-skins/#_bookmarklet[demo page] to your browser's bookmark bar.

Boomarklet generated by the https://mrcoles.com/bookmarklet/[Bookmarklet Creator]. Thanks to https://github.com/mrcoles/markdown-css[markdown-css] for the idea!

== Contribution

The purpose of this project is to allow asciidoc/asciidoctor users greater flexibility when it comes to customizing the look and feel of their documentation. Apart from the available stylesheets, you are welcome to build your own. If you think the world could use it, submit a pull request and it will be featured too! You can either edit template.css (which has most elements listed), or create your own stylesheets from scratch.

=== Licence Agreement

By contributing changes to this repository, you agree to license your contributions under the https://github.com/darshandsoni/asciidoctor-skins/blob/gh-pages/LICENSE[MIT license]. This ensures your contributions have the same license as the project and that the community is free to use your contributions. You also assert that you are the original author of the work that you are contributing unless otherwise stated.

== Credits

== License

MIT.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].