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
4
votes
0 answers

How to add a new NodeJS version for the Node.js Manager on Plesk Obsidian?

Since Plesk Obsidian (v18.x) it doesn't work like the procedure from this answer (Plesk Onyx) and now I am not able to add new versions of NodeJS. plesk sbin nodemng register /opt/plesk/node/18/bin/node​ This command line return this error and…
JPi
  • 41
  • 2
3
votes
0 answers

Rendering p5.js in Obsidian/javascript not running in Obsidian extension

I (14) am working on my first Obsidian extension. It is the first time using TypeScript, and I don't have a lot of experience with JavaScript. I'm wanting to build an extension, that changes a p5.js code block, into a HTML element with the p5 code…
Bram
  • 47
  • 6
2
votes
1 answer

Can a jQuery script be added to a dataviewjs snippet to change progress bar appearance?

I am running a dataviewjs snippet in a markdown file, specifically Obsidian, but I am not happy with the progess bar appearance, which uses green for 'barely started or bad' and red for 'finished or good'. I'd like to reverse that. I found a jQuery…
2
votes
0 answers

How to Make Docker use a Different Port, and maintain Apache2 Service in Plesk Obsidian

I have a docker application running on a server, which is also running Plesk Obsidian, running with Ubuntu. I have had to disable Apache2 so that the container can run, as the container automatically takes port 443. It would be preferable not to…
2
votes
0 answers

How can I use a Dataview query in Obsidian to sum all values of YAML keys nested under a given parent key?

I'm using Obsidian daily notes to keep track of the time spent on various projects at work that fall under the categories of "research", "teaching", or "service". I'd like to use the Dataview plugin to produce a table that lists the total hours…
Bart
  • 473
  • 6
  • 15
2
votes
1 answer

Using markdown wiki-links in Astro framework

I'm building a website using the Astro framework, and I want to use Markdown wiki-links (links formatted like this [[link to post]] from Obsidian to link to other pages on my site. For example, I want to be able to write [[Page Name]] in my Markdown…
PHearst
  • 751
  • 6
  • 29
2
votes
0 answers

Can MomentJS be used fully in Obsidian Notes yaml?

According to MomentJS documentation, it is possible to capture "BC" dates: https://momentjs.com/docs/#/customization/eras/ However, Obsidian Notes can only seem to recognise them as negative numbers/strings. I know Obsidian supposedly fully supports…
Bendy
  • 3,506
  • 6
  • 40
  • 71
2
votes
1 answer

modify regex to capture Question and answer to include newlines

I have the following regex in the tool Obsidian-to-Anki Plugin I use, taken from their Wiki: ^Q: ((?:.+\n)*)\n*A: (.+(?:\n(?:^.{1,3}$|^.{4}(?
Siraj Samsudeen
  • 1,624
  • 7
  • 26
  • 35
2
votes
1 answer

How do I remove a scrolling event handler from a specific element/class?

I am trying to create a TOC in Obsidian that follows as you scroll. Everything works correctly till you get between 25-50% of the page and then the TOC just disappears. #TOC, .TOC { position: fixed; top: 2rem; right: 0; display:…
2
votes
2 answers

How to send multipart/form-data payload with TypeScript Obsidian library?

I'm developing a plugin for Obsidian.md that needs to make an HTTP request to an API that expects a file in a multipart/form-data payload. In order to ensure the plugin works on mobile, I have to use the requestUrl method provided by Obsidian's…
1
vote
0 answers

Why is obsidian.md not letting me fold lists?

I would like to be able to fold my lists in Obsidian.md, but it doesn't let me despite toggling the proper flag. I am using the Obsidian markdown editor for taking notes, and I checked the flag for code folding lists by doing Settings -> Editor ->…
1
vote
1 answer

__dirname not giving the proper file path in TypeScript

I have been trying to use __dirname for fs.readFile. But __dirname doesn't seem to give me the correct file path. To be more specific, I am trying to develop a plugin for the Obsidian app and the path to the plugin folder should look something…
1
vote
1 answer

CSS on Obsidian

This topic is about obsidian, I want to change the css of the dataview only on the page called Home, I can change it using the following code but I want to do it only on this page, the path is Personal/Home. Thanks I'm using cssclass on metadata…
cdangels
  • 13
  • 4
1
vote
0 answers

Obsidian templater input prompt accessible for several scripts

I have one usecase, where i (while applying one of templates) input the needed date and then use it... tp.date.now() does not suit me and i decided to do it manually insertDate js async function insertDate(tp) { const mmnt = await…
tegowai
  • 81
  • 1
  • 1
  • 8
1
vote
0 answers

How to sort grouped obsidian dataview tasks by modification time of the pages they are in

The code below finds and groups relevant tasks from my vault nicely, but the list is alphabetically ordered (by the name of the page in which the tasks are located. dv.taskList( dv.pages('-#exclude').file.tasks .where(t =>…
Henrik
  • 673
  • 8
  • 18
1
2 3 4