2017 © Pedro Peláez
 

library daux-parsedown-generator

Daux.io generator to use Parsedown instead of CommonMark

image

gubler/daux-parsedown-generator

Daux.io generator to use Parsedown instead of CommonMark

  • Saturday, September 16, 2017
  • by dev88
  • Repository
  • 1 Watchers
  • 0 Stars
  • 205 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 51 % Grown

The README.md

Daux.io Parsedown Generator

This processor uses Parsedown Extra when generating a site with Daux.io, (*1)

Additionally it converts specifically formatted blockquotes to callouts., (*2)

Usage

vendor/bin/daux --processor=ParsedownProcessor

Callouts

If you format the a blockquote in the following manner you can create a callout:, (*3)

> #### Type::Title 
> Callout Body 
> ####

The rendered html will be formatted like this:, (*4)

<div class="callout callout-type">
    <div class="callout-header">Title</div>
    <div class="callout-body">
        <p>Callout Body</p>
    </div>
</div>

Any value can be entered for Type. The Type will always be converted to the class callout-type., (*5)

Example:, (*6)

> #### Alert::This is how you enter things! 
> This can contian any valid _markdown_.
>
> Just like a normal blockquote.
> ####

The rendered html will be formatted like this:, (*7)

<div class="callout callout-alert">
    <div class="callout-header">Alert: This is how you enter things!</div>
    <div class="callout-body">
        <p>This can contain any valid <em>markdown</em>.</p>
        <p>Just like a normal blockquote.</p>
    </div>
</div>

If no Title is provided, the Header will just contain the Type., (*8)

Example:, (*9)

> #### Warning:: 
> A warning you should be aware of.
> ####

The rendered html will be formatted like this:, (*10)

<div class="callout callout-warning">
    <div class="callout-header">Warning</div>
    <div class="callout-body">
        <p>A warning you should be aware of.</p>
    </div>
</div>

Callout Styles

In the less directory you will find a basic styles. The less is modified from Bootstrap's alerts and contains styles for:, (*11)

  • success (green)
  • note (blue)
  • alert (red)
  • warning (yellow)
  • default (grey) - matches all other callouts that aren't success, note, alert, or warning.

The Versions

16/09 2017

dev-master

9999999-dev

Daux.io generator to use Parsedown instead of CommonMark

  Sources   Download

MIT

The Requires

 

The Development Requires

  • dauxio/daux.io ^0.5.0

16/09 2017

v0.3.2

0.3.2.0

Daux.io generator to use Parsedown instead of CommonMark

  Sources   Download

MIT

The Requires

 

The Development Requires

  • dauxio/daux.io ^0.5.0

16/09 2017

v0.4.3

0.4.3.0

Daux.io generator to use Parsedown instead of CommonMark

  Sources   Download

MIT

The Requires

 

The Development Requires

  • dauxio/daux.io ^0.5.0

20/12 2016

v0.4.2

0.4.2.0

Daux.io generator to use Parsedown instead of CommonMark

  Sources   Download

MIT

The Requires

 

The Development Requires

20/12 2016

v0.4.1

0.4.1.0

Daux.io generator to use Parsedown instead of CommonMark

  Sources   Download

MIT

The Requires

 

The Development Requires

20/12 2016

v0.4.0

0.4.0.0

Daux.io generator to use Parsedown instead of CommonMark

  Sources   Download

MIT

The Requires

 

The Development Requires

08/12 2016

v0.3.1

0.3.1.0

Daux.io generator to use Parsedown instead of CommonMark

  Sources   Download

MIT

The Requires

 

The Development Requires

08/12 2016

v0.3.0

0.3.0.0

Daux.io generator to use Parsedown instead of CommonMark

  Sources   Download

MIT

The Requires

 

The Development Requires

07/12 2016

v0.2.0

0.2.0.0

Daux.io generator to use Parsedown instead of CommonMark

  Sources   Download

MIT

The Requires

 

The Development Requires

06/12 2016

v0.1.0

0.1.0.0

Daux.io generator to use Parsedown instead of CommonMark

  Sources   Download

MIT

The Requires

 

The Development Requires