An open API service indexing awesome lists of open source software.

https://github.com/oyana/ponyfy

Generate Some Pony Text based on PonyIpsum.com.
https://github.com/oyana/ponyfy

generator ipsum jquery js paragraph ponyipsum-api

Last synced: 2 months ago
JSON representation

Generate Some Pony Text based on PonyIpsum.com.

Awesome Lists containing this project

README

          

# Ponyfy
> Generate Some Pony Text based on [PonyIpsum.com](http://ponyipsum.com/).

## Usage

Include [jQuery](https://code.jquery.com/) 1.12 or higher:

Include ponyfy.min.js:




$(document).ready(function(){
$(".ipsum").ponyfy();
});

In your html:

* `data-ipsumnumber`: (int value, default:1) number of paragraph
* `data-ipsumstart`: (bool value, default:1) first paragraph should start with 'Pony ipsum dolor sit amet'.
* `data-ipsumtype`: (string value, default:pony-and-filler) all-pony for pony only or pony-and-filler for pony mixed with miscellaneous 'lorem ipsum' filler.

## Exemple

//basic
// load 10 paragraph
// remove "Pony ipsum dolor sit amet"
// all-pony for pony only or pony-and-filler for pony mixed with miscellaneous 'lorem ipsum' filler.