Skip to content

Instantly share code, notes, and snippets.

@shodty
shodty / cgwiki_dark.css
Last active May 1, 2021 02:18
cgwiki dark theme for stylus
body, .p-navbar, pre, .form-control, .p-search .searchGoButton:last-child, .p-search .mw-searchButton:last-child {
background: #161310 !important;
color: #c5c4be;
}
h1, h2, h3, h4, h5, h6 {
color: #6f996f;
}
a {

Create Table Import node in Houdini, have it load your CSV file, then copy & paste the code below into a Houdini Python node.

Make sure you change the path in line 9 to point to your Table Import node

Works best if your CSV is encoded in UTF-8 and not UTF-8-BOM (I used Notepad++ to change the encoding for mine).

@shodty
shodty / README.md
Last active January 15, 2022 17:34
Create a Toggle button for the right sidebar in Roam.

Move the right sidebar toggle to a button in the upper right icon tray.

Demo

You can add this to Roam using {{[[roam/js]]}}

Grab the code in roam-sidebar-toggle.js and drop it in a javascript code block, nested underneath a {{[[roam/js]]}} block:

  ```javascript```