Skip to content

Commit

Permalink
Update output
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Mar 7, 2019
1 parent 8fdbe86 commit 7493ed8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/shortcode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ or `name=value`. Numeric attributes can be formatted as `"value"` or just

**Returns**

`WPShortcodeAttrs` Parsed shortcode attributes.
`WPShortcodeAttrs`: Parsed shortcode attributes.

### default

Expand All @@ -57,7 +57,7 @@ the `type` of the shortcode ('single', 'self-closing', or 'closed'), and a

**Returns**

`WPShortcode` Shortcode instance.
`WPShortcode`: Shortcode instance.

### fromMatch

Expand All @@ -75,7 +75,7 @@ passed to `regexp.replace()`.

**Returns**

`WPShortcode` Shortcode instance.
`WPShortcode`: Shortcode instance.

### next

Expand All @@ -91,7 +91,7 @@ Find the next matching shortcode.

**Returns**

`?WPShortcodeMatch` Matched information.
`?WPShortcodeMatch`: Matched information.

### regexp

Expand All @@ -118,7 +118,7 @@ Capture groups:

**Returns**

`RegExp` Shortcode RegExp.
`RegExp`: Shortcode RegExp.

### replace

Expand All @@ -134,7 +134,7 @@ Replace matching shortcodes in a block of text.

**Returns**

`string` Text with shortcodes replaced.
`string`: Text with shortcodes replaced.

### string

Expand All @@ -154,7 +154,7 @@ format the shortcode using a `single` tag, and a `content` string.

**Returns**

`string` String representation of the shortcode.
`string`: String representation of the shortcode.


<!-- END TOKEN(Autogenerated API docs) -->
Expand Down

0 comments on commit 7493ed8

Please sign in to comment.