Published
Edited
Jun 5, 2022
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
PageNameTest = 'Analysis.LibrarianMoveWalls'
Insert cell
Insert cell
Insert cell
Insert cell
keywordExample = "square"
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

Insert cell
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
url1 = fetch(BaseURL+select.replace(".","/")+ImageEnding).then(res => res.json()).then( e => e.res )
Insert cell
/*
Promise.all(
wiki.Nodes[select].Targets.map( url => fetch(BaseURL+url.replace(".","/")+ImageEnding) )
).then(responses =>
Promise.all(responses.map(response => response.json()))
).then(data =>
data
)
*/
Insert cell
/*
urlchildren = {
var urls = []
wiki.Nodes[select].Targets.map( url =>
fetch(BaseURL+url.replace(".","/")+ImageEnding).then(res => res.json()).then( e => urls.push( e.res ) )
)
return urls
}
*/
// result is asynchronous, might prefer Promise.all()
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Displaying an image in text ![Alt text](${PageTestImage.res} "a title")
Insert cell
Insert cell
Insert cell
Insert cell
pageIndexURL = "https://vatelier.benetou.fr/MyDemo/newtooling/pageindex.json"
Insert cell
Should provide a similar index of external links, as done in the past for the reverse search.
Insert cell
Insert cell
Insert cell
Insert cell
items = document.querySelectorAll(':hover')
Insert cell
items[items.length-1].innerText
Insert cell
Insert cell
Insert cell
testTextParagraphCleaned = Array.from(new Set( testTextParagraph.split(" ").map( e => e.replace(/\W/g, '').toLowerCase() ).sort().filter( e => e.length > 2) ))
Insert cell
testTextParagraphCleaned.map( e => searchWithinIndex(e) ).filter( (e) => e.length > 0 && e.length < 10)
Insert cell
See also https://fabien.benetou.fr/Wiki/LearningSearch and https://fabien.benetou.fr/Tools/Vimperator including past work with dedicated engines like SphinxSearch or SQLite FTS5 Extension.
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
pageIndex = fetch(pageIndexURL).then(res => res.json())
Insert cell
wiki = fetch(WikiURL).then(res => res.json())
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
WikiURL = 'https://vatelier.benetou.fr/MyDemo/newtooling/wiki_graph.json?#cachebusting'
Insert cell
Insert cell
aframe = require("https://aframe.io/releases/1.3.0/aframe.min.js")
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
- completion on pagename
- PmWiki skin with visualization to test in context
- can we doth with URL parameters to be able to specific a specific cell to embbed
- replace the Save GLB button by a saving to URL option, see e.g SSE on Glitch
- done before with https://twitter.com/utopiah/status/1495713341133791242
- then embbed and refresh directly from Hubs too
- interface on search discussion from https://twitter.com/utopiah/status/1516765092502716425
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more