Skip to content

Instantly share code, notes, and snippets.

image

There are three components:

  1. import simplemde
  2. add a textarea
  3. add scripts to:
  • initialize simplemde,
  • save changes to localstorage every second
  • check for more recent entry based on time from other tabs
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta charset="utf-8" />
<!-- Always force latest IE rendering engine or request Chrome Frame -->
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" />
<title>START</title>
<!-- credit and inspiration goes to https://twitter.com/elzr -->
@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

Keybase proof

I hereby claim:

  • I am jborichevskiy on github.
  • I am jonb (https://keybase.io/jonb) on keybase.
  • I have a public key ASBKCMeBL88Otd3IAEYyulF2MI5KyIG5-8n9gT5xvDHwPwo

To claim this, I am signing this object: