@progfay/scrapbox-parser@2.3.0で /help/Syntax をパースしたときの全JSONをフラットにしたもの
code:json
{
"title": "Syntax",
"blocks0.nodes0.type": "image", "blocks0.nodes0.link": "", "blocks3.nodes0.type": "decoration", "blocks3.nodes0.decos0": "*-1", "blocks3.nodes0.nodes0.type": "plain", "blocks3.nodes0.nodes0.text": "Mouse-based editing", "blocks4.nodes0.type": "image", "blocks4.nodes0.link": "", "blocks6.nodes0.type": "strong", "blocks6.nodes0.nodes0.type": "plain", "blocks6.nodes0.nodes0.text": "Internal Links", "blocks6.nodes1.type": "plain", "blocks6.nodes1.text": " (linking to another page on scrapbox)", "blocks7.nodes0.type": "code", "blocks7.nodes0.text": "link", "blocks7.nodes1.type": "plain", "blocks7.nodes1.text": " ⇒ ", "blocks7.nodes2.type": "link", "blocks7.nodes2.pathType": "relative", "blocks7.nodes2.href": "Link", "blocks9.nodes0.type": "strong", "blocks9.nodes0.nodes0.type": "plain", "blocks9.nodes0.nodes0.text": "External Links", "blocks9.nodes1.type": "plain", "blocks9.nodes1.text": " (linking to another web page)", "blocks10.nodes0.type": "code", "blocks10.nodes1.type": "plain", "blocks10.nodes1.text": " ⇒ ", "blocks10.nodes2.type": "link", "blocks10.nodes2.pathType": "absolute", "blocks10.nodes2.content": "", "blocks11.nodes0.type": "code", "blocks11.nodes1.type": "plain", "blocks11.nodes1.text": " ⇒ ", "blocks11.nodes2.type": "link", "blocks11.nodes2.pathType": "absolute", "blocks11.nodes2.content": "Google", "blocks12.nodes0.type": "plain", "blocks12.nodes0.text": "or", "blocks13.nodes0.type": "code", "blocks13.nodes1.type": "plain", "blocks13.nodes1.text": " ⇒ ", "blocks13.nodes2.type": "link", "blocks13.nodes2.pathType": "absolute", "blocks13.nodes2.content": "Google", "blocks15.nodes0.type": "strong", "blocks15.nodes0.nodes0.type": "plain", "blocks15.nodes0.nodes0.text": "Images", "blocks16.nodes0.type": "plain", "blocks16.nodes0.text": "Direct mage link ↓", "blocks16.nodes1.type": "code", "blocks16.nodes1.text": "https://gyazo.com/da78df293f9e83a74b5402411e2f2e01.png", "blocks17.nodes0.type": "image", "blocks17.nodes0.link": "", "blocks19.nodes0.type": "strong", "blocks19.nodes0.nodes0.type": "plain", "blocks19.nodes0.nodes0.text": "Clickable Thumbnail Links", "blocks20.nodes0.type": "plain", "blocks20.nodes0.text": "↓ ", "blocks20.nodes1.type": "code", "blocks20.nodes1.text": "http://cutedog.com https://i.gyazo.com/da78df293f9e83a74b5402411e2f2e01.png", "blocks20.nodes2.type": "plain", "blocks20.nodes2.text": " ", "blocks21.nodes0.type": "image", "blocks22.nodes0.type": "plain", "blocks22.nodes0.text": "Adding the link at the end also works, as before:", "blocks23.nodes0.type": "code", "blocks23.nodes0.text": "https://i.gyazo.com/da78df293f9e83a74b5402411e2f2e01.png http://cutedog.com", "blocks25.nodes0.type": "strong", "blocks25.nodes0.nodes0.type": "plain", "blocks25.nodes0.nodes0.text": "Linking to other scrapbox projects", "blocks26.nodes0.type": "code", "blocks26.nodes1.type": "plain", "blocks26.nodes1.text": " ⇛ ", "blocks26.nodes2.type": "link", "blocks26.nodes2.pathType": "root", "blocks26.nodes2.href": "/icons/check", "blocks27.nodes0.type": "code", "blocks27.nodes1.type": "plain", "blocks27.nodes1.text": " ⇛ ", "blocks27.nodes2.type": "link", "blocks27.nodes2.pathType": "root", "blocks27.nodes2.href": "/icons", "blocks29.nodes0.type": "strong", "blocks29.nodes0.nodes0.type": "plain", "blocks29.nodes0.nodes0.text": "Icons", "blocks30.nodes0.type": "code", "blocks30.nodes0.text": "ben.icon", "blocks30.nodes1.type": "plain", "blocks30.nodes1.text": " ⇛ ", "blocks30.nodes2.type": "icon", "blocks30.nodes2.pathType": "relative", "blocks30.nodes2.path": "ben", "blocks31.nodes0.type": "code", "blocks31.nodes0.text": "/icons/todo.icon", "blocks31.nodes1.type": "plain", "blocks31.nodes1.text": " ⇛ ", "blocks31.nodes2.type": "icon", "blocks31.nodes2.pathType": "root", "blocks31.nodes2.path": "/icons/todo", "blocks33.nodes0.type": "strong", "blocks33.nodes0.nodes0.type": "plain", "blocks33.nodes0.nodes0.text": "Bold text", "blocks34.nodes0.type": "code", "blocks34.nodes0.text": "Bold", "blocks34.nodes1.type": "plain", "blocks34.nodes1.text": " or ", "blocks34.nodes2.type": "code", "blocks34.nodes2.text": "Bold", "blocks34.nodes3.type": "plain", "blocks34.nodes3.text": "⇒ ", "blocks34.nodes4.type": "strong", "blocks34.nodes4.nodes0.type": "plain", "blocks34.nodes4.nodes0.text": "Bold", "blocks36.nodes0.type": "strong", "blocks36.nodes0.nodes0.type": "plain", "blocks36.nodes0.nodes0.text": "Italic text", "blocks37.nodes0.type": "code", "blocks37.nodes0.text": "italic", "blocks37.nodes1.type": "plain", "blocks37.nodes1.text": "⇛ ", "blocks37.nodes2.type": "decoration", "blocks37.nodes2.decos0": "/", "blocks37.nodes2.nodes0.type": "plain", "blocks37.nodes2.nodes0.text": "italic", "blocks39.nodes0.type": "strong", "blocks39.nodes0.nodes0.type": "plain", "blocks39.nodes0.nodes0.text": " Strikethrough text", "blocks40.nodes0.type": "code", "blocks40.nodes0.text": "strikethrough", "blocks40.nodes1.type": "plain", "blocks40.nodes1.text": "⇛ ", "blocks40.nodes2.type": "decoration", "blocks40.nodes2.decos0": "-", "blocks40.nodes2.nodes0.type": "plain", "blocks40.nodes2.nodes0.text": "strikethrough", "blocks41.nodes0.type": "image", "blocks41.nodes0.link": "", "blocks43.nodes0.type": "strong", "blocks43.nodes0.nodes0.type": "plain", "blocks43.nodes0.nodes0.text": "Bullet points", "blocks44.nodes0.type": "plain", "blocks44.nodes0.text": "Press space or tab on a new line to indent and create a bullet point", "blocks45.nodes0.type": "plain", "blocks45.nodes0.text": "Press backspace to remove the indent / bullet point", "blocks47.nodes0.type": "strong", "blocks47.nodes0.nodes0.type": "plain", "blocks47.nodes0.nodes0.text": "Hashtags / internal links", "blocks48.nodes0.type": "code", "blocks48.nodes0.text": "#tag", "blocks48.nodes1.type": "plain", "blocks48.nodes1.text": " and ", "blocks48.nodes2.type": "code", "blocks48.nodes3.type": "plain", "blocks48.nodes3.text": " work the same to create a link but also define related pages you can find later", "blocks49.nodes0.type": "plain", "blocks49.nodes0.text": "Add links in the middle of a sentence to branch off as you type or add tags at the end to organize.", "blocks51.nodes0.type": "strong", "blocks51.nodes0.nodes0.type": "plain", "blocks51.nodes0.nodes0.text": "Block quote", "blocks52.nodes0.type": "quote", "blocks52.nodes0.nodes0.type": "plain", "blocks52.nodes0.nodes0.text": " use the right arrow ", "blocks52.nodes0.nodes1.type": "code", "blocks52.nodes0.nodes1.text": ">", "blocks52.nodes0.nodes2.type": "plain", "blocks52.nodes0.nodes2.text": " at the beginning of a line to get a block quote ", "blocks54.nodes0.type": "strong", "blocks54.nodes0.nodes0.type": "link", "blocks54.nodes0.nodes0.pathType": "relative", "blocks54.nodes0.nodes0.href": "Code notation", "blocks55.nodes0.type": "plain", "blocks55.nodes0.text": "Use backquotes or backticks, `, to highlight code ", "blocks56.nodes0.type": "plain", "blocks56.nodes0.text": "e.g. ", "blocks56.nodes1.type": "code", "blocks56.nodes1.text": "function() { return true }", "blocks58.nodes0.type": "strong", "blocks58.nodes0.nodes0.type": "link", "blocks58.nodes0.nodes0.pathType": "relative", "blocks58.nodes0.nodes0.href": "Code block notation", "blocks59.nodes0.type": "plain", "blocks59.nodes0.text": "Typing ", "blocks59.nodes1.type": "code", "blocks59.nodes1.text": "code:filename.extension", "blocks59.nodes2.type": "plain", "blocks59.nodes2.text": "or", "blocks59.nodes3.type": "code", "blocks59.nodes3.text": "code:filename", "blocks59.nodes4.type": "plain", "blocks59.nodes4.text": "can be used to create a new code snippet and and display it as a block", "blocks60.nodes0.type": "plain", "blocks60.nodes0.text": "Language names may be abbreviated", "blocks61.type": "codeBlock", "blocks61.fileName": "hello.js", "blocks61.content": "function () {\n alert(document.location.href)\n console.log(\"hello\")\n // You can also write comments!\n}", "blocks63.nodes0.type": "strong", "blocks63.nodes0.nodes0.type": "link", "blocks63.nodes0.nodes0.pathType": "relative", "blocks63.nodes0.nodes0.href": "Tables", "blocks64.nodes0.type": "plain", "blocks64.nodes0.text": "Type table: tablename to create a table", "blocks65.nodes0.type": "plain", "blocks65.nodes0.text": "Use tab to move to the next column, use enter to move to the next row.", "blocks66.nodes0.type": "plain", "blocks66.nodes0.text": "An example:", "blocks67.type": "table", "blocks67.fileName": "hello", "blocks67.cells000.type": "plain", "blocks67.cells000.text": "1", "blocks67.cells010.type": "plain", "blocks67.cells010.text": "2", "blocks67.cells020.type": "plain", "blocks67.cells020.text": "3", "blocks67.cells100.type": "plain", "blocks67.cells100.text": "1 ", "blocks67.cells110.type": "plain", "blocks67.cells110.text": "2 ", "blocks67.cells120.type": "plain", "blocks67.cells120.text": "3", "blocks67.cells200.type": "plain", "blocks67.cells200.text": "------", "blocks67.cells210.type": "plain", "blocks67.cells210.text": "------", "blocks67.cells220.type": "plain", "blocks67.cells220.text": "------", "blocks67.cells300.type": "plain", "blocks67.cells300.text": "a", "blocks67.cells310.type": "plain", "blocks67.cells310.text": "b", "blocks67.cells320.type": "plain", "blocks67.cells320.text": "c" }