diff options
author | neilmonroe <neil.monroe@gmail.com> | 2009-03-20 15:03:47 -0700 |
---|---|---|
committer | neilmonroe <neil.monroe@gmail.com> | 2009-03-20 15:03:47 -0700 |
commit | 3e643a9a95905eb622173bf1cb3ec07436465257 (patch) | |
tree | 0904d76dd780637479e651f6193bde9f42c4aae2 | |
parent | acc92e4c4f8221c348e87a1a037ef83e09d98b74 (diff) | |
download | jquery-countable-3e643a9a95905eb622173bf1cb3ec07436465257.zip jquery-countable-3e643a9a95905eb622173bf1cb3ec07436465257.tar.gz jquery-countable-3e643a9a95905eb622173bf1cb3ec07436465257.tar.bz2 |
Update markdown formatting (again).
-rw-r--r-- | README.markdown | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/README.markdown b/README.markdown index 5fba388..e313dd1 100644 --- a/README.markdown +++ b/README.markdown @@ -7,18 +7,18 @@ A jQuery plugin that adds a character counter to inputs and textareas. The countable plugin has 12 settings: -* `threshold` - The percentage at which the counter begins to fade in. Default is `0.5`. -* `appendMethod` - One of `insertAfter`, `insertBefore`, `prependTo`, or `appendTo` to insert the counter after or before the input/textarea or prepend or append to the `target` element. Default is `'insertAfter'`. -* `target` - Container element into which to place the counter -* `startOpacity` - The percentage of opacity it should start out with once it reaches the threshold. Default is `0.25`. -* `maxLength` - The maximum number of characters. Default uses the `maxlength` attribute of the input/textarea. -* `maxClassName` - The class name to add once the user has gone over the max number of characters. Default is `'maxed'`. -* `className` - The class name for the counter. Default is `'counter'`. +* `threshold` - The percentage at which the counter begins to fade in. Default is **0.5**. +* `appendMethod` - One of **insertAfter**, **insertBefore**, **prependTo**, or **appendTo** to insert the counter after or before the input/textarea or prepend or append to the **target** element. Default is **'insertAfter'**. +* `target` - Container element into which to place the counter. +* `startOpacity` - The percentage of opacity it should start out with once it reaches the threshold. Default is **0.25**. +* `maxLength` - The maximum number of characters. Default uses the **maxlength** attribute of the input/textarea. +* `maxClassName` - The class name to add once the user has gone over the max number of characters. Default is **'maxed'**. +* `className` - The class name for the counter. Default is **'counter'**. * `tagName` - The type of tag to use for the counter. Default is `span`. -* `interval` - The interval at which it checks the input/textarea. Default is `750`. -* `positiveCopy` - The copy to use when the character count is below the max. Use `{n}` to denote where the number should go. Default is `"You have {n} characters left."`. -* `negativeCopy` - The copy to use when the character count is over the max. Use `{n}` to denote where the number should go. Default is `"You are {n} characters over."`. -* `fadeDuration` - The duration of the fade animations. Default is `'normal'`. +* `interval` - The interval at which it checks the input/textarea. Default is **750**. +* `positiveCopy` - The copy to use when the character count is below the max. Use `{n}` to denote where the number should go. Default is **'You have {n} characters left.'**. +* `negativeCopy` - The copy to use when the character count is over the max. Use `{n}` to denote where the number should go. Default is **'You are {n} characters over.'**. +* `fadeDuration` - The duration of the fade animations. Default is **'normal'**. ## Examples |