Skip to content

Instantly share code, notes, and snippets.

@atomoil
Created November 19, 2020 00:07
Show Gist options
  • Save atomoil/1fbd9ac806b3f81fb425a9357509a3e0 to your computer and use it in GitHub Desktop.
Save atomoil/1fbd9ac806b3f81fb425a9357509a3e0 to your computer and use it in GitHub Desktop.
tinkercad-shapes-to-markdown.js
"* Page "+document.querySelector(".item.active").innerText+"\n"+(Array.from(document.querySelectorAll(".sidebar-item")).map( item => " - " + item.querySelector(".item-name").innerText + "\n - <img src='" + item.querySelector(".item-icon img").src + "'>").join("\n"))
@atomoil
Copy link
Author

atomoil commented Nov 19, 2020

Run in the console on the tinkercad page to render the current page to a markdown format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment