Alexis Rondeau

My newsfeed

Everything I post, write, build and read, in the order it happened: dispatches from Twitter, posts and comments from Hacker News, videos from YouTube, my notes, my code on GitHub and the books I read on Kindle, archived here in full so they outlive the platforms.

1254 dispatches since January 2012 · page 43 of 51

Comment on How to Read Books When You Have ADHD

I very much agree and share a similar experience.

Struggling with ADHD is not a matter of not being able to focus. Part of the issue is directing and keeping attention on non-pleasant tasks that are stacked up against a brain chronically low on dopamine and norepinephrine transmission.

As someone with diagnosed and treated ADHD, these articles are misleading. In my opinion it's dangerous to claim "Do this ONE behavioural thing and your ADHD goes away (or gets easier.)"

After struggling with ADHD for 25+ years I can tell you: These life-hacks don't work. Please, consult with a medical professional instead. It'll save you years of agony and disappointment.

Again, if you have – or suspect – ADHD, work with a psychiatrist to discuss diagnosis and treatment options. Period.

Quoting Dr. Russell Barkeley "ADHD is one, if not the best-understood psychiatric conditions. We understand it for several decades now - it's also called the diabetes of psychiatry because there's treatment"[^1].

So, we know what it is and have known how to treat it. It's a neuro-genetic disease, and we have had working medications for – I think – 50 years including the obvious methylphenidate and dexamphetamines.

After reading the article and so many like it, I feel frustrated because I think they're predatory. They're targeting neuro-divergent people like myself. And boy, did I fall into those traps over and over again until I enrolled in actual medical treatment.

I'll assume that Jacqueline writes and published this in good faith to a point. My smell-test says otherwise - but please correct me if I'm wrong: The article smells like a classic "authority" post that's designed to generate leads for her mailing-list via the "free"-for-email ebook "YOUR ADHD STRENGTHS" just below. Once singed up I imagine I'll... [conjecture!] get an email drip campaign for a week providing "value" to join her community to eventually be offered an intro offer for $37 with an upsell for $197 etc.

[^1]: https://www.youtube.com/watch?v=SCAGc-rkIfo

obsidian-recursor

An ambient plugin that will place your cursor back to where you left off.

8 stars · 1 fork · TypeScript

Recursor - Obsidian

This is an “ambient” plugin that will keep track of where you had your cursor was before you left off.

It will…

  • Remember your cursor position for every file you open
  • Place your cursor back to the previous position
  • Save the positions when you exit Obsidian

Basic Functionality

Reporting issues

If you discover something not working, please submit an issue here. Thank you!

Origins

Based on this forum thread by alexobsidian.

Backlog

  • Figure out why scrollTo(cursor) isn’t fully scrolling
  • Handle file rename
  • Handle file delete

obsidian-footnotes

Makes creating footnotes in Obsidian more fun!

145 stars · 27 forks · TypeScript

Obsidian Footnotes Plugin

This hotkey lets you:

  • Insert a new footnote marker (e.g. [^1]) with auto-incremented index in your text

    • Adds the footnote detail (e.g. [^1]: ) at the bottom of your text
    • Places your cursor so you can fill in the details quickly
  • Jump from your footnote TO the footnote detail
  • Jump from your footnote detail BACK to the footnote

Overview

IMPORTANT: You must to set up your footnote hotkey

After installing and activating this plugin, you still have to SET UP your hotkey. This is easy and quick:

Settings -> Hotkeys -> Search for "Footnote" -> Customize Command -> Your preferred hotkey

I personally use Command+Shift+6 because “6” on a US keyboard is where the uptick/footnote character “^” is.

Hotkey

Default Feature Details

Scenario: No previous numeric (e.g. “[^1]”) footnotes exist:

  • Given my cursor is where I want a footnote to exist (e.g. Foo bar baz▊)
  • When I hit my footnote hotkey
  • Then a new footnote marker (e.g. [^1]) is inserted where my cursor was (e.g. Foo bar baz[^1])
  • And a new footnote details marker (e.g. [^1]: ) is inserted on the last line of the document
  • And my cursor is now placed at the end of the detail marker (e.g. [^1]: ▊)

Scenario: Previous numeric (e.g. “[^1]”) footnotes exist:

  • Given there is one or more numeric footnotes in my text
  • And my cursor is where I want a footnote to exist (e.g. Foo bar[^1] baz▊)
  • When I hit my footnote hotkey
  • Then a new footnote marker with the next numeric index (e.g. [^2]) is inserted where my cursor was (e.g. Foo bar[^1] baz[^2])
  • And a new footnote details marker (e.g. [^2]: ) is inserted on the last line of the document
  • And my cursor is now placed at the end of the detail marker (e.g. [^2]: ▊)

Scenario: Jumping TO a footnote detail

  • Given I’m on a footnote detail line (e.g. [^1]: ▊)
  • When I hit my footnote hotkey
  • Then my cursor is placed right after the first occurence of this footnote in my text (e.g. [^1]▊)

Scenario: Jumping BACK to a footnote

  • Given I’m on - or next to - a footnote (e.g. [^1]▊) in my text
  • When I hit my footnote hotkey
  • Then my cursor is placed to the right of the footnote (e.g. [^1]: ▊)

Known Limitations or Untested Scenarios

Indices are not updated

Inserting new footnote in-between two existing footnotes will insert the next numeric index (e.g. 1, 3, 2).

It will NOT update the indices according to their natural order (e.g. 1, 2, 3).

Example sentence[^1] with two▊ footnotes[^2] already.
  
[^1]: Foo
[^2]: Bar

After insertion:

Example sentence[^1] with two[^3] footnotes[^2] already.
  
[^1]: Foo
[^2]: Bar
[^3]: Baz

See “Automatically Re-Index Footnotes” below for a proposed feature

Future Possible Feature Ideas

Automatically Re-Index Footnotes

Re-index and re-sort all footnotes when you insert a new one in-between one or more existing numbered footnotes:

Example sentence[^1] with two▊ footnotes[^2] already.
  
[^1]: Foo
[^2]: Bar

Base Scenario

  • Given there are two footnotes already
  • When I enter a new footnote in-between those two
  • Then the NEW footnote gets the index “2”
  • And the previously second footnote gets the index “3”
  • And the NEW footnote detail is inserted as the second entry at the bottom
  • And the previously second footnote detail at the bottom is updated to be “3”
  • And the previously second footnote detail at the bottom is updated to be in third position
Example sentence[^1] with two[^2] footnotes[^3] already.

[^1]: Foo
[^2]: Baz
[^3]: Bar▊

Edge Cases to consider (“What if…?”)

What if… new footnote is inserted before the first footnote?
Some sentence▊ with existing note[^1]

[^1]: Details
What if… text has the same footnote at several places?
Some sentence with existing note[^1] and the same▊ footnote re-appears later[^1].


[^1]: Details
What if…Footnote details are spread across the text?
Some sentence with existing note[^1] some more text▊ 

[^1]: Inline footnote details

Another text part▊
What if… the footnote details are multi-line on the bottom?
Some sentence with existing note[^1] some more text▊ 

[^1]: The details that
Span across
Multiple lines
What if… there are non-numeric footnotes in the text?
Some sentence with existing note[^✝] some more text▊ 

[^✝]: Details

Background

This plugin is based on the great idea by jacob.4ristotle posted in the “Footnote Shortcut” thread.

Use case or problem:

I use Obsidian to take school notes, write essays and so on, and I find myself needing to add frequent footnotes. Currently, to add a new footnote, I need to:

  • scroll to the bottom to check how many footnotes I already have
  • type [^n] in the body of the note, where n is the next number
  • move to the end of the note, type [^n] again, and then add my citation.

Proposed solution:

It would be convenient to have a shortcut to automate these steps. In particular, I envision that the shortcut would: Using the smallest natural number n that has not yet been used for a footnote

  • add [^n] at the insertion point
  • add [^n]: to the end of the note, and move the insertion point there.

Footnotes

I wanted to add a footnote without breaking my train of thought. One hotkey drops a numbered marker and its note at the bottom of the page, and the same key jumps you between the two — no counting, no scrolling, no losing your place. Footnote-heavy writing finally feels effortless.

Open →

Super-Heroes, Super-Villains and an Ancient Code in Obsidian

Here's the story how I discovered an ancient code hidden inside Obsidian with the help of a super-hero and a super-villain.

Before we dive in, a heads-up:

1. This journey is not for the faint of heart
2. It's is going to be long and raw and unpolished
3. There will with high-HIGHS and low-LOWS

Please share your super-hero and super-villain story in the forum:
forum.obsidian.md/t/video-super-heroes-super-…

23:40 long

extracthighlights-dist

Custom PDFJS library for highlights

3 stars · JavaScript

PDF.js

PDF.js is a Portable Document Format (PDF) library that is built with HTML5. Our goal is to create a general-purpose, web standards-based platform for parsing and rendering PDFs.

This is a pre-built version of the PDF.js source code. It is automatically generated by the build scripts.

For usage with older browsers/environments, without support for modern features such as e.g. async/await, Promise, and ReadableStream, please refer to the es5 folder.

See https://github.com/mozilla/pdf.js for learning and contributing.

How To Use: Obsidian Journey Plugin

Discover the stories between your notes with Journey!

In this video, you'll learn
1. The basic usage to find your stories fast
2. How to use the "I feel lucky" button to get inspired
3. How to configure your search using #tags to add more possibilities
4. How to configure your search excluding MOCs to avoid boring notes
5. How to configure your search excluding certain folders to avoid irrelevant notes
6. How to configure high-contrast mode to see better :)

Join the conversation at: forum.obsidian.md/t/new-plugin-journey-find-t…
Post issues at: github.com/akaalias/obsidian-journey-plugin/i…

6:58 long

How to Create Outlines for Publishing Faster - Journey for Obsidian Plugin Demo

NEWS:

SHARE YOUR EXPERIENCE!

Hey there! Alexis here - Obsidian enthusiast and student at the University of Life! I want to show you a new Obsidian plugin I've been working on. This plugin automatically creates an outline for your publishing (An outline for an article, a blog post, or even a book!).

Why? I’ve noticed that my creative output using Obsidian hasn't been as prolific as I’d like it to be. I have hundreds of atomic notes, I’ve followed every best-practice, but right now, Obsidian doesn’t help me take that next step.

It’s really hard to extract a good story from my vault.

That's why I've created this new plugin :)

7:24 long

obsidian-journey-plugin

Discover the story between your notes in Obsidian

167 stars · 7 forks · TypeScript

Obsidian Journey Plugin - Discover the story between your notes!

GitHub release) GitHub all releases

Hey there and welcome!

Alexis here - Obsidian enthusiast and student at the University of Life!

I want to show you a new Obsidian plugin I’ve been working on.

This plugin automatically creates an outline for your publishing.

An outline for an article, a blog post, or even a book!

Why do we need this?

I’ve noticed that my creative output using Obsidian hasn’t been as prolific as I’d like it to be.

I have hundreds of atomic notes in my vault, I’ve followed every best-practice, but right now, Obsidian didn’t help me take that next step.

It’s really hard to extract a good story from my vault.

This plugin automatically finds and creates the outline of my story like so:

What the plugin finds for you

Tutorial

Watch on Youtube: https://youtu.be/6k2Lp1pCZpY

Included Features

Based on the amazing community feedback and comments, I realized that there are many different ways to go on that journey and so I’ve created a bunch of features you can toggle on or of to your liking.

These features are like preferences you can give your navigation-system in your car. Maybe today, all you care about is getting from A to B quickly. Maybe tomorrow, you have more time to “take the scenic route.” I want you to be as flexible as possible.

✔ Path-Finding Features

➡️ Use “Forward-Links” (Enabled by default)

If set, allows to travel using forward-links. If you have a graph like this: A -> B -> C and you ask about the story between A and C, it will give you ‘A, B, C’ since A forward-links to B and B forward-links to C

⬅️ Use “Back-Links” (Enabled by default)

If set, allows to travel using back-links. If you have a graph like this: A -> B -> C and you ask about the story between C and A, it will give you ‘C, B, A’ since C has a back-link from B and B has a back-link from A

✔ Include Tags Feature

🏷 Use tags (Disabled by default)

If set, allows to travel using tags.

✔ Avoid Traveling via Certain Notes Features

🏞 “Take the scenic route” (Disabled by default)

If set, will skip ‘hub’ notes with too many links (MOCs). Configure exactly how many links make a MOC below.

⚙️ “How many links make a MOC?”

Configure at which point to skip a note because it contains too many out-bound links. Applies only if ‘Take the scenic route’ above is set.

🙅🏻‍♀️Exclude specific folders (Disabled by default)

If set, will note include notes from the specified folders in your search. Please use comma to deliminate several folders

✔ Clipboard Settings Feature

🔗 Enable automatic linking (Disabled by default)

If set, will turn titles in the list into links to their respective note

🤪 Enable automatic transclusion (Disabled by default)

If set, will automatically create transcluding links for you (’note’ instead of ‘- note’)

✔ Accessibility Feature

🔎 Enable High-Contrast

If set, will increase the contrast to make the result-list easier to read.

Join the Discussion!

Share your ideas and feedback on the plugin. We regularly vote on which features should be built next

https://forum.obsidian.md/t/new-plugin-journey-find-the-story-between-your-notes/12153

A huge shout-out to thoresson, alltagsverstand, Thecookiemomma, cestvrai, matteor, Danashafir, EhuddRomero, I-d-as, osgav, Erick_James_Dodge, 3mbry0, Klaas, ryanjamurphy, EdElgar and Daveb08 for helping making this awesome for everyone!

How to submit an issue

🐞 If you run into a TECHNICAL ISSUE or BUG: Please submit a Github Issues at https://github.com/akaalias/obsidian-journey-plugin/issues

See what features are coming up

https://trello.com/b/ICKWjoBu/obsidian-journey-plugin-backlog

Trello

Path-Finding Feature Deep Dive

Because each feature has an impact to whether the plugin CAN FIND or CANNOT FIND a path between your two notes, I want to demonstrate what each does as simply as possible.

So, let’s start by imagining this very basic vault with 4 notes. “Note A”, “Note B”, “Note C” and “Note D”

  • A links to B
  • B links to C
  • C shares the same tag as D

Vault

Feature 1: Use “Forward-Links” (Enabled by default)

Links are basically one-way streets from one note to the next. That means the plugin will show you only a path IF a forward-linked path exists but it won’t show you a path that goes “against” the one-way street.

forwardlink

With the example and this feature turned ON, the plugin will…

  • Successfully find you a path from A to C (Via B)
  • NOT find you a path from C to A because that would be against the one-way street

Feature 2: Use “Back-Links” (Enabled by default)

This is basically the inverse of using “forward-links”. With this feature, you navigation system will find ONLY paths that are based on going against the one-way streets.

backlink

With the example and this feature turned ON, the plugin will…

  • NOT find a path from A to C because there are no back-links to follow
  • Successfully find you the path from C to A (Via B) because the back-links point that direction

Feature 3: Using Tags (Disabled by default)

Thank you alltagsverstand for the idea which I had not thought of and which resonated with many of you.

As the name suggests, Tags can now also be paths between notes.

tag

With the example and this feature turned ON, the plugin will…

  • Successfully find the path from C to D (C -> #tag -> D) and from D to C (D -> #tag -> C)

If I now have Back-Links and Forward-Links enabled as well, I can now find the path from:

  • A to D (A -> B -> C -> #tag -> D)
  • D to A (D -> #tag -> C -> B -> A)

Note that this feature is disabled by default.

Feature 4: “Take the scenic route” aka Avoid MOCs (Disabled by default)

One of thoresson’s many ideas that turned out to be really, really useful when I started to pressure-test finding cool paths.

Avoid Y (perhaps a tag used for MOC and other structured notes so that only atomic notes are included in the journey)

If turned on, this feature will exclude finding a path via MOC notes and help you “take the scenic route” instead. With this feature, you avoid passing through the “big city” (aka MOC) and instead find a path less traveled.

In the following example, with this feature turned ON, the path from A to C would be:

  • A -> Foo -> Bar -> C (instead of A -> MOC -> C)

MOC

“How many links make an MOC?”

A sub-feature for “taking the scenic route” where you can define at what amount of links inside a note makes it an MOC to avoid.

The original launch demo

Watch on Youtube: https://youtu.be/iRydNlinRlc

Journey

You’ve collected hundreds of notes — but where’s the story in them? I built Journey to trace a path between any two ideas in your vault and hand you a ready-made outline, surfacing connections you’d forgotten you made. A blank-page cure that turns your scattered thinking into the first draft of something worth publishing.

Open →

obsidian-shuffle

Create custom and randomized writing prompts

53 stars · 3 forks · TypeScript

Shuffle for Obsidian

This plugin allows you to create your custom, randomized writing-prompts from lists of variables you define.

Based on Eleanor Konik’s post at https://forum.obsidian.md/t/rfc-oblique-strategies-writing-prompts-reflection-creators-block/9997/2

Example

Input template

## Prompt
1. Include one of these words: $WORD, $WORD or $WORD
2. Begin with a word that starts with `$LETTER`
3. Take place in $LOCATION or $LOCATION

Randomized output:

## Prompt
1. Include one of these words: Wall, Wind or Book
2. Begin with a word that starts with `g`
3. Take place in London or Los Angeles

How to to install manually

  • Download the latest main.js, mainfest.json and styles.css from https://github.com/akaalias/obsidian-shuffle/releases/
  • Create a new folder named ‘obsidian-shuffle’
  • Place the two files in the folder
  • Place the folder in your .obsidian/plugins directory
  • Reload plugins
  • Activate the “Shuffle” plugin

How to use the plugin

  • Hit the ‘Dice’ button in the sidebar to generate a new prompt note
  • Customize your variable names, values and template to your liking in the settings

Load custom packs

Try out new prompts by loading their pack into your settings. (Will replace your custom prompts.)

Currently available packs:

  • ⚫ Oblique Strategies by Brian Eno and Peter Schmidt
  • ⚡️ Flash Fiction Pack by Eleanor Konik

Share YOUR custom prompts!

If you have created your own custom set of prompts, PLEASE SHARE them! Contact me via the Obsidian Forum or per issue in this repo.

obsidian-extract-pdf-highlights

Extract highlights, underlines and annotations from your PDFs into Obsidian

243 stars · 17 forks · TypeScript

Extract your PDF text-highlights into Obsidian

This plugin allows you to extract highlighted and underlined text from your PDFs into a markdown file in your Obsidian vault.

How it works

After you’ve installed and activated the plugin:

  1. Drop your highlighted PDF into your Obsidian vault
  2. Open the PDF in Obsidian
  3. Click the “PDF” icon in the left sidebar

Demo with default settings

Simple

Demo with all optional settings turned on

Settings

Optional settings

  • Include page number (Default: off)
  • Include highlight color (Default: off)
  • Create links (Default: off)

Backlog

The list of features and improvements for this plugin.

ICEBOX

  • Record demo video, quick-start walk-through for new users

TODO

  • Auto-create notes from links with highlight/annotation as quote with backlink to source PDF
  • Group highlights by highlight color (Optional)
  • Add progress bar/modal to show “Processed Page 5/10 (50%)” or similar for longer PDFs
  • Fix missing space after newline (Very complex)

DOING

…

DONE

  • Refactor pdfjs import to not overload Obsidian worker (Ideas from @lishid?)
  • Show highlight color (Optional)
  • Auto-link list items (Optional)
  • Refactor/extract PDF from main.ts
  • Add Page-number to each highlight (Optional)
  • Sort highlights by position in document and page (Mandatory)
  • Extract unsorted list of HIGHLIGHT annotations
  • Extract unsorted list of TEXT annotations
  • Extract unsorted list of UNDERLINE annotations
  • Decide if to integrate with existing Highlights Plugin

Contribute

I’d love to hear from you, so please check out the Contribution page to get in touch!

Major Thanks

This plugin stands on the shoulders of Joseph Devietti and his 2012 pull-request for PDFJS.

Extract PDF Highlights

I was tired of re-typing the passages I’d highlighted while reading. Now you open a marked-up PDF in Obsidian, click once, and every highlight, underline and note lands in a tidy page-ordered note you can actually search, link and build on. Hours of manual copying gone — your reading turns straight into usable notes.

Open →

obsidian-extract-pdf

Extract PDFs to Markdown within Obsidian

270 stars · 24 forks · JavaScript

Extract PDF text to Markdown

Allows you to extract the basic textual content of a PDF into a Markdown file. Works well with headings, paragraphs and lists.

Demo

How to use this plugin

After you’ve installed and activated the plugin:

  1. Drag your PDF into Obsidian
  2. Open the PDF within Obsidian
  3. Make sure the pane with your PDF is focused
  4. Click the “PDF to Markdown” button in the sidebar
  5. Edit the generated markdown file to your needs

Tips & Tricks for editing the generated markdown file

I just went ahead and turned a 500 page PDF into markdown and found that it worked better and faster than I expected.

Bulk-removing page footers

The book I used had the same footer on every page. That means they got copied into the markdown file over and over, too.

For bulk search-and-replace I use the Atom editor (https://atom.io):

  1. Copy the footer text into your clipboard
  2. Download and install Atom
  3. Open Atom and open the Markdown file inside
  4. Use “Find -> Find in Buffer” and paste the footer text
  5. Use the button “Replace” or “Replace All” to remove footer text

Remove a single space before a new line of text

Weirdly, sometimes, new lines of text had a space infront of them. Such as:

Some text

…which resulted in Obisidian treating it as a sub-block of the preceding line.

To remove the space for those lines, I used a regular expression search-and-replace:

  1. In “Find in current buffer” activate “Regex Search” (The .* icon)
  2. Enter ^([ ]|\t)+ into the search field
  3. Use the button “Replace” or “Replace All” to remove the space

Known issues

First-time use

If you had a PDF open in Obisidian before you installed and activated the plugin, hitting the button may not work. I’ve had this issue with other plugins as well. The code just doesn’t hook up to already-open files.

The solution is to simply close the PDF note and re-open it. That will allow the plugin to hook into it.

Limited PDF parsing

Please understand that this is a basic, best-effort tool to get basic text and headings from a PDF. It really just gets the text from a pdf and turns it into Markdown. The plugin doesn’t handle anything more complex, like tables, images, annotations etc:

  • Does not turn PDF highlights and annotations into MD highlights
  • Does not retain PDF numbered lists
  • Does not skip text in headers and footers

Extract PDF

This one frees the text trapped inside a PDF. One click turns a document into clean, editable notes — headings, paragraphs and lists intact — so you can quote it, rework it, and weave it into your own writing instead of squinting at a locked-up file.

Open →

dangerzone-writing-plugin

A plugin that forces you to write for X seconds. If you pause for more than 5 seconds, everything you've written in this note is DELETED.

81 stars · 5 forks · TypeScript

🔥 Dangerzone Writing 🔥 for Obsidian

“Elegant”

“Dangerous”

“Relaxing”

“Perverted”

“Your best friend”

“Your worst nightmare”

Hey all, I’ve been a paying customer of FlowState since 2016 and wanted something similar for Obsidian.

It’s really fun. And stressful. But mostly fun.

It’s simple:

  1. You start a timer for X minutes.
  2. THEN, during those X minutes you MUST write continuously.
  3. The catch: If you PAUSE for longer than 5 seconds, everything you’ve written is DELETED.

Here’s an example session:

When to use Dangerzone Writing

  • Use it to “warm” up your writing muscle
  • Use it to write that first draft however dirty and ragged
  • Use it to keep you laser-focused on writing

How to use the Dangerzone Writing plugin

  1. Open a note in Obsidian^
  2. Click the “Stopwatch” icon in the left bar to start the timer
  3. From now on, the count-down from 60 seconds to 0 starts
  4. Start writing!
  5. DO. NOT. STOP. WRITING for 60 seconds.
  6. If you DO stop writing for more than 5 seconds, everything you’ve written in this note so far is DELETED.

Again, let me be clear: If you stop for more than 5 seconds, your writing in this note will be deleted.

^ I usually create an empty one, but that’s not necessary

How to start as a beginner

If you’ve never used this type of writing before, I highly recommend starting with the defaults and an empty note to get a feeling for it.

A few simple tips and tricks

  1. Fake it till you make it: It’s totally fine to write a lot of “nothing” such as Well, I don't know what to write here. Nothing comes to mind. I'm sitting here. Writing... - I do this all the time. You’ll eventually find a thought that is interesting, so don’t worry.
  2. Don’t Panic: Just because there’s a countdown, doesn’t mean you have to freak out. I know this sounds weird, but as long as you hit a key every second or so, this thing won’t blow up. So, instead of switching to PANIC-MODE as soon as you start a session, just stay calm and start writing.
  3. Start small: Gradually increase session time as you get more comfortable with this type of challenge.
  4. Learn to touch-type: Learn to touch-type if you’re not yet fully touch-typing and you’re struggling with the mechanics to keep up. This is one of the most powerful hard-skills I’ve ever learned.

How to personalize your sessions and fuse time

To optimize your flow experience, you can configure your:

Writing Session Timing Settings

  • Countdown duration in seconds: Default is 60s, How many seconds you want your Dangerzone Writing session to last?
  • Seconds-to-deletion fuse: Default is 5s, How many seconds until your text is deleted?

Immersive Writing Settings

  • Session Font-Size: Increases editor font-size temporarily for a more immersive experience. Leave empty to keep default size
  • Session Background Color: Changes background color of editor temporarily for a more immersive experience. Find a good color at https://htmlcolorcodes.com. Leave empty to omit

Successful sessions tracking

You get a +1 🎉 for every Dangerzone Writing session you complete successfully. “Successfully” means that once the timer is up, there is at least some text there (indicating you didn’t just give up and let the countdown finish).

Let me know how it goes!

Thank you

Thank you ryanjamurphy, roberthaisfield, macedotavares, afokapu, tristanbailey, lukeleppan, AutonomyGaps and hicsuntdragons for your feedback and support.

Disclaimer

This plugin is provided as-is with NO warranty that it’ll work exactly as you expect. It’s made to DELETE text in a note after X seconds of inactivity when you’re start a session. Please do not hold me responsible if it does, in fact, DELETE your text. That’s what it does. On the other hand there is always the possibility of a bug that makes this plugin behave unexpectedly.

text-expander-plugin

A bare-bones and opinionated proof-of-concept text expander utility for Obsidian

12 stars · 2 forks · TypeScript

Text-expander

A bare-bones proof-of-concept implementation of a simple text-expander in Obsidian.

  1. Uses :: (two colons) to start the trigger-sequence
  2. Define your own custom trigger keyword like foo
  3. In the editor, type ::foo + ENTER (or Tab or Space) to expand

Built-in is ::date which will expand to todays date such as Mon Nov 09 2020 and ::time which will expand to your current timezone’s time.

Demo

Demo

Settings

Settings

Hacking and Help

This is mostly a proof of concept for myself and it’s rather, erm, “pragmatic” code. If you see something you’d like to change, let me know. Here’s how you can fiddle around on your own yourself and send a pull-request

Clone and make new branch

  • cd $VAULT/.obsidian/plugins
  • git clone <https://github.com/akaalias/text-expander-plugin>
  • cd text-expander-plugin
  • git checkout -b my_branch
  • git remote add upstream <https://github.com/akaalias/text-expander-plugin>

Install deps

  • npm i && npm install -g prettier && npm install -g eslint
  • npm run dev

Edit

  • git checkout -b my_branch
  • Make your edits
  • To check your changes, reload Obsidian (Command-R)

Commit-prep

  • ./ship.sh will prettify and elsint once again
  • git add -p to stage changes individually
  • git commit -m "my message"

Publish pull request

  • git push -u origin my_branch

extract-highlights-plugin

Manage your highlights in Obsidian by easily creating, removing and exporting them.

95 stars · 10 forks · TypeScript

Extract Highlights Plugin

Create and extract highlights from a current markdown note in Obsidian into your clipboard. Based on icebear’s plugin request.

Training Videos

Watch: The Quick-Start Tutorial!

Watch: A SECRET NEW highlight mode

Watch: Tips and Tricks for the SECRET mode

How it works

This plugin will copy the highlights delimited by ==, ** and <mark></mark> into your clipboard as a bullet-list.

Optionally you can customize…

  • The heading text of the list, include the note-title or hide it all-together
  • Adding a footnote to each that link back to the source-file
  • Creating an ad-hoc map-of-content (MOC) by turning each highlight into an <span class="wikilink unresolved"> Obsidian link </span>
  • Auto-capitalize the first letter in each highlight for consistency

Demo Creating and Extracting Highlights

  1. First you see how I use the CREATE highlights hot-key to highlight sentences
  2. Then you see how I use the EXTRACT highlights hot-key to create a new file with the highlights

basic functionality

Using the Hotkey to HIGHLIGHT (and UN-HIGHLIGHT) the sentence under cursor

The default hotkey for this is:

SHIFT + ALT + _

Super useful for when you’re reading and just don’t want to switch to your mouse for selecting the sentence.

demo

Will remove highlighting if the sentence under your cursor is currently delimited by “==”.

Using the Hotkey to EXTRACT highlights

The default hotkey is:

SHIFT + ALT + =

Using the Ribbon Button

There is also a button (a circle-shape) that’s added to your left-side ribbon.

Clicking on it will also extract all highlighted parts in your current note and place it in your clipboard.

Using the Command Palette

I looked into it and there’s a bug the way clipboard works with the Command Palette. Basically everything but the “Paste” works.

But I’ve found a temporary work-around. It’s weird but it works.

  1. Trigger Command Palette (Command-P)
  2. Find “Extract Highlights”
  3. Hit Enter (You should see a notification (“Highlights copied to clipboard!”)
  4. Workaround: At this point, briefly switch to a different note and back (This materialises the clipboard data for pasting)
  5. Paste works now the same as with the Hotkey and Button-press

Pasting highlights from your clipboard

After using the hotkey, button or command palette, anywhere you want, just paste the clipboard!

Command + v (MacOS) or the equivalent on Windows/Linux

The output is a markdown-block titled “Highlights” with a bullet-list of the highlights.

Feedback

Are you using Extract Highlights? I’d love to hear from you!

Share your questions and suggestions in the forum

Backlog

TODO

  • Record video on using the “explosion mode” for research and creating atomic notes

    • Pre-requisites

      • Highlights Plugin

        • Create links
        • Create page
        • Enable explode mode
        • Open notes on creation
      • Sliding Panes Plugin
    • Start with a good article (Economist)
    • Go through and highlight sentences
    • Create MOC and explode into notes

      • BOOOMMMMM!!!
      • You’ve got an MOC
      • You’ve got the core for single-idea, atomic notes
      • You’ve got a backlink to the original file

DOING

…

DONE

  • “Explode” highlights into individual notes (assumes I’m creating the list of links as well)
  • command (SHIFT + ALT + =) which then copies all of the highlighted text either into:
  • click a button which then copies all of the highlighted text either into:
  • allow for <mark></mark> to be used as highlights
  • allow for standard bold (**) to be used as highlights
  • allow to optionally include or completely exclude ## Highlights heading
  • allow to change text in heading ## My Custom Highlights
  • allow to include note-name in heading such as ## From: $NOTE_TITLE
  • allow to add footnotes for each highlight and include link to source-note
  • allow to optionally enable bold for highlights
  • allow for Command Palette to trigger copying (Works sort of, bug in Electron)
  • my clipboard
  • a new note