This file contains hidden or 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
| <%* | |
| // v0.1 | |
| /* START OF USER DEFINED SETTINGS */ | |
| // template to use | |
| const templateFolder = "templates"; | |
| const templateName = "template_anthony.md"; | |
| // creating the new file | |
| const newFileFolder = "test/meetings"; | |
| const openNewFile = false; |
This file contains hidden or 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
| // Blog post: https://rolandleth.com/extracting-and-parsing-tweets-from-your-twitter-archive | |
| import Foundation | |
| struct Tweet: Codable { | |
| let text: String | |
| let timestamp: String | |
| } |
This file contains hidden or 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
| <%* | |
| /* USER CONFIG SETTINGS */ | |
| const collapsed = false; | |
| const showMoreContext = false; | |
| //SortOrder Options: alphabeticalReverse, alphabetical, byModifiedTime, byModifiedTimeReverse, byCreatedTime, byCreatedTimeReverse | |
| const sortOrder = "byModifiedTime"; | |
| /* END OF CONFIG SETTINGS */ | |
| const search = app.workspace.getLeavesOfType("search")[0]; | |
| let thisFile = app.workspace.getActiveFile(); |
This file contains hidden or 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
| (ns hiccdown.html | |
| (:require [clojure.edn :as edn] | |
| [instaparse.core :as insta :refer [defparser]])) | |
| ;; A cross-platform (CLJC) html->hiccup converter for Hiccdown's own needs. | |
| ;; For now, only used in the tests. | |
| (defparser html-parser " | |
| nodes = node* | |
| <node> = text | open-close-tags | self-closing-tag | |
| open-close-tags = opening-tag nodes closing-tag |