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.
- Host: GitHub
- URL: https://github.com/oyana/ponyfy
- Owner: Oyana
- License: gpl-3.0
- Created: 2016-11-17T12:28:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-26T00:04:36.000Z (over 9 years ago)
- Last Synced: 2025-07-12T15:42:21.457Z (11 months ago)
- Topics: generator, ipsum, jquery, js, paragraph, ponyipsum-api
- Language: JavaScript
- Homepage:
- Size: 16.6 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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.