mirror of
https://github.com/nushell/nushell
synced 2025-01-26 03:45:19 +00:00
Fix docs building error caused by missing end tag (#8477)
This commit is contained in:
parent
2579a827fc
commit
e672689a76
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ To represent different types of entries different values must be written to this
|
||||||
1. Tag entry: `{tag: <tag name> attrs: {<attr name>: "<string value>" ...} content: [<entries>]}`
|
1. Tag entry: `{tag: <tag name> attrs: {<attr name>: "<string value>" ...} content: [<entries>]}`
|
||||||
2. Comment entry: `{tag: '!' attrs: null content: "<comment string>"}`
|
2. Comment entry: `{tag: '!' attrs: null content: "<comment string>"}`
|
||||||
3. Processing instruction (PI): `{tag: '?<pi name>' attrs: null content: "<pi content string>"}`
|
3. Processing instruction (PI): `{tag: '?<pi name>' attrs: null content: "<pi content string>"}`
|
||||||
4. Text: `{tag: null attrs: null content: "<text>"}`. Or as plain "<text>" instead of record.
|
4. Text: `{tag: null attrs: null content: "<text>"}`. Or as plain `<text>` instead of record.
|
||||||
|
|
||||||
Additionally any field which is: empty record, empty list or null, can be omitted."#
|
Additionally any field which is: empty record, empty list or null, can be omitted."#
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,7 +73,7 @@ impl Plugin for Query {
|
||||||
pub fn web_examples() -> Vec<PluginExample> {
|
pub fn web_examples() -> Vec<PluginExample> {
|
||||||
vec![PluginExample {
|
vec![PluginExample {
|
||||||
example: "http get https://phoronix.com | query web -q 'header'".into(),
|
example: "http get https://phoronix.com | query web -q 'header'".into(),
|
||||||
description: "Retrieve all <header> elements from phoronix.com website".into(),
|
description: "Retrieve all `<header>` elements from phoronix.com website".into(),
|
||||||
result: None,
|
result: None,
|
||||||
}, PluginExample {
|
}, PluginExample {
|
||||||
example: "http get https://en.wikipedia.org/wiki/List_of_cities_in_India_by_population
|
example: "http get https://en.wikipedia.org/wiki/List_of_cities_in_India_by_population
|
||||||
|
|
Loading…
Reference in a new issue