Questions tagged [obsidian]

Obsidian knowledge base app for Markdown files.

Obsidian is a powerful cross-platform knowledge base that works on top of a local folder of plain text Markdown files. It is a second brain, for you, forever.

56 questions
1
vote
0 answers

Mouse dragging nodes in D3.js not working after adding boundary restrictions

D3.js mouse dragging event is not working First question here, so I would be happy if you guys could let me know if I asked the correct way or not. I am trying to replicate Obsidian's (a note taking app) graph view , where you can drag the nodes and…
ydenktas
  • 11
  • 1
1
vote
1 answer

Javascript Replace with Tab character for snippet in iOS Siri Shortcut (to be used for Obsidian app)

I want to append to a dictionary file where the rule is: entry<2TABS>alias1<1TAB>alias2. 2 TAB characters after the main entry and a single TAB character between each alias. Because the iOS Shortcut app cannot use \t in the replacement line, I am…
zanodor
  • 137
  • 6
1
vote
3 answers

How do I modify this BAT code to work for all subfolders?

I need to apply a tag to all .md files in a directory (for use in Obsidian), including all .md files in subfolders. Building off the code in this post, I was able to get it to work for .md files in the same folder as the BAT file with this code: for…
FiatMihi
  • 21
  • 5
1
vote
2 answers

Trying to duplicate lines and parse list in NPP

Given a list of profile image links in markdown with varying name lengths: ![[Last, First.jpg]] ![[Longerlast, Longerfirst.jpg]] etc How can I convert to the following using regex in NPP? ![[Last, First.jpg]] ::Last, First ![[Longerlast,…
1
vote
1 answer

"TypeError: n.push is not a function" using DataviewJS and Chart.js in ObsidianMD

Running into an issue trying to pull out values from the frontmatter of weekly notes in ObisdianMd and render a chart using DataviewJS and Chart.js. The frontmatter for each weeks note looks like this... --- Year: 2023 Week: 10 Time: 22:44 Tags:…
1
vote
0 answers

Overleaf math writing shorthands

I was using a platform called "Obsidian" to take notes and I downloaded a plugin called "Quick maths" where you could write something like this: $$ al:\alpha; be:\beta; ga:\gamma; $$ and if you were working on a .tex using math or equation…
3DN4C
  • 11
  • 2
1
vote
0 answers

How to handle Quick Switcher events in Obsidian API?

I making a plugin for Obsidian that will need the possibility to edit suggestions in Quick Switcher. (P.S. Quick switcher is a modal window to quickly search and select files.) Is there any event handler for Quick Switcher or alternative for it? Or…
Quartz_
  • 43
  • 3
1
vote
1 answer

Combine GroupBy with sort/dictsort

I'm trying to get some of my templates in Obsidian working together with using Zotero and for this I want to write a corresponding (adapted) template. I'm almost happy with it but still struggling with one thing: Annotations from Zotero are properly…
CuttingWide
  • 47
  • 12
1
vote
2 answers

Jest configuration / error - Cannot find module "" from ""

Jest Error when launching tests I'm building a plugin for Obsidian and I setup my project from their plugin template on GitHub. To produce a robust plugin, I want to setup unit testing with Jest. Then, I made a simple unit test for my plugin and…
LBF38
  • 15
  • 1
  • 9
1
vote
0 answers

How to customize codeblocks in Obsidian reading mode?

I am working on an Obsidian plugin which should work in editor mode and reading mode as well. I have finished all functionality in editing mode, and I wanted to start working on the reading mode. The plugin basically adds functionality to set…
kampi
  • 2,362
  • 12
  • 52
  • 91
1
vote
0 answers

Cannot access autospawn lock Debian

I followed a tutorial that helped me setup a Proxmox/Truenas/Docker server. It has you create a share drive on the Truenas VM and then automount it to the Docker VM. I then tried to install a Docker App for Obsidian and had this error: E:…
BloxBoss6
  • 23
  • 2
1
vote
1 answer

Obsidian formats code in a wierd way when in Read-Mode

I am fairly new to Obsidian and have run into an issue that I can't resolve: When in Edit-Mode the code I put into my note gets looks normal and how I formatted it to look like, but as soon as I switch into Read-Mode, the formatting is all over the…
1
vote
0 answers

How to create a gutter for obsidian codeblocks?

Please don't be angry, I don't know what I am doing. My end goal is to create a simple plugin for Obsidian which adds line numbering to codeblocks in the editor/live-preview mode, and I can highlight specific lines. As far as I know Obsidian uses…
kampi
  • 2,362
  • 12
  • 52
  • 91
1
vote
0 answers

Can A Google Apps Script Retroactively Set The Google Drive indexableText attribute For Uploaded Files

TLDR: Google Drive does not index markdown files or mime type text/markdown by default. I'm looking for a way to make sure that all files in a specified directory are being indexed by Google Drive. I have applications on Windows desktop and Android…
1
vote
0 answers

When Creating a CSS Snippet to modify ObsidianMD's bullet list's bullets, why does the class '.cm-list-4' work?

Can someone explain to me why when modifying the style of bullet lists, you can only go three levels deep using .cm-list-n where n is level? The following doesn't work: .cm-list-4 .list-bullet:before { content: '\25AA'; } This, however…
psj.dev
  • 19
  • 2