Skip to content

Instantly share code, notes, and snippets.

@azlen
azlen / bulletpaths.js
Last active April 15, 2024 14:06
All Paths Lead to Roam
/*
* credit to Dhrumil Shah (@wandcrafting) and Robert Haisfield (@RobertHaisfield)
* for the original concept which was part of their RoamGames submission
* and can be found at: https://www.figma.com/file/5shwLdUCHxSaPNEO7pazbe/
*
*/
/* ======= OPTIONS ======== */
/* note: if you change these, reload the page to see the effect */
@c3founder
c3founder / Play-Button.cs
Last active April 6, 2023 11:19
Responsive YouTube Player and YouTube Timestamp for Roamresearch
.timestamp-control{
background-color: rgba(108,109,36,0.1);
color: rgb(251,106,13);
margin-right: 8px;
margin-top: 0px;
margin-left: 0px;
margin-bottom: 5px;
border-radius: 50% !important;
border-style: inset;
@GitMurf
GitMurf / attr-table-filters.js
Last active June 13, 2023 03:16
Filtering attribute tables
/*
****************************************************************************************
****************************************************************************************
****************************************************************************************
NOW HOSTING CODE VIA MY MAIN GITHUB REPOSITORY FOR ROAM SO THAT USERS CAN LINK DIRECTLY TO THE CODE AND AUTO UPDATE
GO HERE FOR INSTALLATION INSTRUCTIONS: https://github.com/GitMurf/roam-javascript#installation
****************************************************************************************
@jlongtine
jlongtine / README.md
Last active November 28, 2020 08:18
youtube-timestamp.ts

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

Grab the code in youtube-timestamps.js and drop it in a javascript code block:

  ```javascript```

You can have timestamps at the beginning of any nested block. H:MM:SS

You can use the ctrl+shift+y hotkey (currently assumes you have Roam42 installed, let me know if you'd prefer I drop that requirement) to grab the current timestamp of the video you're cursor is nested under and add it to the beginning of your block.

@oschmid
oschmid / roam-random-page.js
Last active June 6, 2021 21:20
Adds a 'Random' button to the left sidebar. Works anywhere in Roam. Shift-Click to open in right sidebar (you may see 'All Pages' appear briefly). Alt+R or Alt+Shift+R keyboard commands. Moved to https://github.com/oschmid/roam-plugins/blob/master/random-page-plugin.js
// Moved to https://github.com/oschmid/roam-plugins/blob/master/random-page-plugin.js
@ciceronianus
ciceronianus / Roam-mermaid-colors-in-graph.css
Last active October 1, 2020 06:15
Roam - Mermaid - custom colors for the graph
/*
Author: @CatoMinor3
Version: 1
Date: July 1st
Paypal support: https://www.paypal.me/catominor3
What it does: Custom CSS colors for Mermaid in Roam.
How to use it?
1) Put this code into roam/css
2) Simply assign class to the item under {{mermaid}}:
@ciceronianus
ciceronianus / Roam-colored_fonts.css
Last active April 28, 2023 08:24
(deprecated) Roam - colored bold, italics and highlight by @CatoMinor3
/*
Author:: @CatoMinor3
Version:: 3.0
Date:: Sept.rm-italicsber 22nd, 2020
Changes log:
- 3.0 - code adapted for the new classes in Roam
- 2.1 - code adaptated for future support of colour shades (different opacity),
download the additonal CSS here: https://gist.github.com/ciceronianus/5d7b224658b7a9832a6249a13091aa9d
Support:
@MaggieAppleton
MaggieAppleton / roam-light-theme.css
Last active August 31, 2022 04:41
Roam Light Theme with Custom Data Tags
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "TT Commons", sans-serif;
font-size: 3em;
}
div,
@jborichevskiy
jborichevskiy / jon-roam-daily-template.md
Last active August 31, 2022 04:41
The daily template I use for Roam Research https://roamresearch.com/
  • Weekly Agenda (created on a different day, and embedded with /Block Reference)
  • [[Morning Questions]]
    • {{[[slider]]}} How many hours of sleep did I get?
    • What's one thing top of mind today?
    • What's the one thing I need to get done today to make progress?
    • Review #[[Index: Questions]] #values
  • Agenda
    • {{[[TODO]]}} Morning walk #goal-health #habit
    • {{[[TODO]]}} Check calendar for scheduled events
  • {{[[TODO]]}} Morning focus hour