Skip to content

Commit

Permalink
Merge pull request #542 from rg3h/master
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
spencermountain committed Jul 26, 2023
2 parents 45aefbb + ef97c91 commit 8e7e5a3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,8 @@ let s = wtf(page).sentences()[4]
s.links()
s.bolds()
s.italics()
s.text()
s.wikitext()
```

#### **doc.categories()**
Expand Down Expand Up @@ -553,6 +555,7 @@ wtf
- **.links()** - list of all links
- **.bolds()** - list of all bold texts
- **.italics()** - list of all italic formatted text
- **.text()** - generate readable plaintext
- **.json()** - return all sentence data
- **.wikitext()** - original wiki markup

Expand All @@ -562,8 +565,8 @@ wtf
- **.thumbnail()** - return url to thumbnail (pass `size` to customize)
- **.links()** - any links from the caption (if present)
- **.format()** - get file format (e.g. `jpg`)
- **.json()** - return some generic metadata for this image
- **.text()** - does nothing
- **.json()** - return some generic metadata for this image
- **.wikitext()** - original wiki markup

### Template
Expand Down

0 comments on commit 8e7e5a3

Please sign in to comment.