- htt://www.pulsar-it.net
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const apiUrl = "http://api.quotable.io/random?tags="; | |
async function start() { | |
var quote; | |
var cite; | |
const response = await fetch(apiUrl); | |
const data = await response.json(); | |
if (response.ok) { | |
// Update DOM elements |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This function will generate links to every file in the same folder as this one | |
// use <%tp.user.folder_links(tp.file.path(), tp.file.title)%> to generate the list. | |
// The main use of this is if the notes are organized "Wiki style", with a file in | |
// each folder that matches the folder name, i.e. | |
// notes/ | |
// ├─ notes.md | |
// ├─ stickynotes/ | |
// │ ├─ stickynotes.md |