#26: Ignore bold/italic text
This commit is contained in:
parent
edb55c875b
commit
2b76438e55
2 changed files with 15 additions and 1 deletions
|
@ -323097,6 +323097,18 @@ Minecraft Legends:
|
||||||
when:
|
when:
|
||||||
- os: windows
|
- os: windows
|
||||||
store: microsoft
|
store: microsoft
|
||||||
|
<winLocalAppData>/Packages/Microsoft.MinecraftWindowsBeta_8wekyb3d8bbwe/LocalState/games/com.mojang/minecraftWorlds:
|
||||||
|
tags:
|
||||||
|
- save
|
||||||
|
when:
|
||||||
|
- os: windows
|
||||||
|
store: microsoft
|
||||||
|
<winLocalAppData>/Packages/Microsoft.MinecraftWindowsBeta_8wekyb3d8bbwe/LocalState/games/com.mojang/minecraftpe/options.txt:
|
||||||
|
tags:
|
||||||
|
- config
|
||||||
|
when:
|
||||||
|
- os: windows
|
||||||
|
store: microsoft
|
||||||
'Minecraft: Education Edition':
|
'Minecraft: Education Edition':
|
||||||
files:
|
files:
|
||||||
<winAppData>/Minecraft Education Edition/games/com.mojang/minecraftWorlds:
|
<winAppData>/Minecraft Education Edition/games/com.mojang/minecraftWorlds:
|
||||||
|
|
|
@ -17,7 +17,7 @@ type WikiNode = string | Template | {
|
||||||
content: Array<WikiNode>,
|
content: Array<WikiNode>,
|
||||||
attributes: { [key: string]: string },
|
attributes: { [key: string]: string },
|
||||||
} | {
|
} | {
|
||||||
type: "comment",
|
type: "comment" | "bold" | "italic",
|
||||||
content: Array<WikiNode>,
|
content: Array<WikiNode>,
|
||||||
} | {
|
} | {
|
||||||
type: "link",
|
type: "link",
|
||||||
|
@ -658,6 +658,8 @@ function flattenParameter(nodes: Array<WikiNode>): [string, boolean] {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "comment":
|
case "comment":
|
||||||
|
case "bold":
|
||||||
|
case "italic":
|
||||||
break;
|
break;
|
||||||
case "tag":
|
case "tag":
|
||||||
const [flatT, regularT] = flattenParameter(node.content);
|
const [flatT, regularT] = flattenParameter(node.content);
|
||||||
|
|
Reference in a new issue