mirror of
https://codeberg.org/Ewen/rudibridge.git
synced 2024-12-22 03:02:32 +00:00
fix: readme format
This commit is contained in:
parent
7f2cbe82b1
commit
3e3879e48e
28
README.md
28
README.md
|
@ -13,20 +13,20 @@ This project consists of two parts :
|
|||
|
||||
### Parameters
|
||||
|
||||
- `**url**` (required): the URL of the page
|
||||
- `**article**` (required): the HTML tag encapsulating a feed item
|
||||
- `**title**` (required): the HTML tag of the article title
|
||||
- `**articleClass**`: a class name helping to filter the article element
|
||||
- `**titleClass**`: a class name helping to filter the title element
|
||||
- `**section**`: the HTML tag encapsulating the group of items. If not given, the entire page will be used
|
||||
- `**content**`: the HTML tag encapsulating the content, or description, of the item. The default is `p`
|
||||
- `**contentClass**`: a class name helping to filter the content element
|
||||
- `**link**`: the HTML tag encapsulating the link to the item. The default is `a`.
|
||||
- `**linkClass**`: a class name helping to filter the link element
|
||||
- `**datetime**`: the HTML tag encapsulating the date and time of the item. Any date and time format can be used, the parser will try to understand the format.
|
||||
- `**datetimeClass**`: a class name helping to filter the datetime element
|
||||
- `**author**`: the HTML tag encapsulating the author of the item
|
||||
- `**authorClass**`: a class name helping to filter the author element
|
||||
- `url` (required): the URL of the page
|
||||
- `article` (required): the HTML tag encapsulating a feed item
|
||||
- `title` (required): the HTML tag of the article title
|
||||
- `articleClass`: a class name helping to filter the article element
|
||||
- `titleClass`: a class name helping to filter the title element
|
||||
- `section`: the HTML tag encapsulating the group of items. If not given, the entire page will be used
|
||||
- `content`: the HTML tag encapsulating the content, or description, of the item. The default is `p`
|
||||
- `contentClass`: a class name helping to filter the content element
|
||||
- `link`: the HTML tag encapsulating the link to the item. The default is `a`.
|
||||
- `linkClass`: a class name helping to filter the link element
|
||||
- `datetime`: the HTML tag encapsulating the date and time of the item. Any date and time format can be used, the parser will try to understand the format.
|
||||
- `datetimeClass`: a class name helping to filter the datetime element
|
||||
- `author`: the HTML tag encapsulating the author of the item
|
||||
- `authorClass`: a class name helping to filter the author element
|
||||
|
||||
## Installation
|
||||
|
||||
|
|
Loading…
Reference in a new issue