<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/atom.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Posts tagged: obsidian</title>
  <id>https://waylonwalker.com/tags/obsidian/atom.xml</id>
  <updated>2025-12-13T22:28:28Z</updated>
  <subtitle>All posts with the tag &#34;obsidian&#34;</subtitle>
  <link href="https://waylonwalker.com/tags/obsidian/" rel="alternate" type="text/html"></link>
  <link href="https://waylonwalker.com/tags/obsidian/atom.xml" rel="self" type="application/atom+xml"></link>
  <author>
    <name>Waylon Walker</name>
  </author>
  <generator uri="https://github.com/WaylonWalker/markata-go">markata-go</generator>
  <entry>
    <title>numbered posts in obsidian</title>
    <id>https://waylonwalker.com/numbered-posts-in-obsidian/</id>
    <updated>2025-12-13T22:28:28Z</updated>
    <published>2025-12-13T22:28:28Z</published>
    <link href="https://waylonwalker.com/numbered-posts-in-obsidian/" rel="alternate" type="text/html"></link>
    <summary type="text">I&#39;ve been using this one for awhile now, I have a post type that I only edit from my phone, but I have all the post numbered. I set up a template in obsidian...</summary>
    <content type="html">&lt;p&gt;I’ve been using this one for awhile now, I have a post type that I only edit&#xA;from my phone, but I have all the post numbered.  I set up a template in&#xA;obsidian for using templater, the template goes right in the static site repo,&#xA;I point templater to the templates directory and this has been working pretty&#xA;seamlessly for awhile.&lt;/p&gt;&#xA;&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;---&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;date: &amp;lt;% tp.date.now(&amp;#34;YYYY-MM-DD HH:mm:ss&amp;#34;) %&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;templateKey: myposttype&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;published: true&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;tags:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;-&lt;/span&gt; myposttype&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&amp;lt;%*&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;const folder = &amp;#34;pages/myposttype&amp;#34;;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;// get all files in the vault, keep only those inside the folder&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;const files = app.vault.getFiles().filter(f =&amp;gt; f.path.startsWith(folder + &amp;#34;/&amp;#34;));&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;// extract numeric suffixes from filenames like myposttype-123.md&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;const nums = files.map(f =&amp;gt; {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;  const m = f.basename.match(/^myposttype-(\d+)$/);&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;  return m ? parseInt(m[1], 10) : null;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;}).filter(n =&amp;gt; n !== null);&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;// next number (start at 1 if none exist)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;const next = (nums.length ? Math.max(...nums) : 0) + 1;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;// include the .md extension when moving&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;const newPath = &lt;span class=&#34;sb&#34;&gt;`${folder}/myposttype-${next}`&lt;/span&gt;;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;await tp.file.move(newPath);&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;%&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;---&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;</content>
    <author>
      <name>Waylon Walker</name>
      <email>hello@waylonwalker.com</email>
      <uri>https://waylonwalker.com</uri>
    </author>
  </entry>
  <entry>
    <title>Obsidian-new-file</title>
    <id>https://waylonwalker.com/obsidian-new-file/</id>
    <updated>2024-08-05T11:44:00Z</updated>
    <published>2024-08-05T11:44:00Z</published>
    <link href="https://waylonwalker.com/obsidian-new-file/" rel="alternate" type="text/html"></link>
    <summary type="text">Wikilinks are a core concept within obsidian to link to documents by slug wrapped in double square brackets. These are commonly used within wiki site...</summary>
    <content type="html">&lt;p&gt;Wikilinks are a core concept within obsidian to link to documents by &lt;a href=&#34;/slug/&#34; class=&#34;wikilink&#34; data-title=&#34;Slug&#34; data-description=&#34;A slug is the part of the url that comes after the domain. Commonly matches the file name of a markdown file many blogging systems. These are typically human...&#34; data-date=&#34;2024-08-05&#34; data-preview=&#34;A slug is the part of the url that comes after the domain. Commonly matches the file name of a markdown file many blogging systems. These are typically human...&#34;&gt;Slug&lt;/a&gt; wrapped in double square brackets.  These are commonly used within wiki site generators.&lt;/p&gt;&#xA;&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;[[slug]]&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Obsidian gives you a keybinding &lt;code&gt;alt+enter&lt;/code&gt; to go to that file, but if it does not exist it will create the file for you in the root of the project.  It’s a nice way to quickly make new documents.&lt;/p&gt;&#xA;</content>
    <author>
      <name>Waylon Walker</name>
      <email>hello@waylonwalker.com</email>
      <uri>https://waylonwalker.com</uri>
    </author>
  </entry>
  <entry>
    <title>💭 Hotkey to open link under at the text cursor position while ty...</title>
    <id>https://waylonwalker.com/thought-381/</id>
    <updated>2024-08-05T01:46:22Z</updated>
    <published>2024-08-05T01:46:22Z</published>
    <link href="https://waylonwalker.com/thought-381/" rel="alternate" type="text/html"></link>
    <summary type="text">!https://forum.obsidian.md/t/hotkey-to-open-link-under-at-the-text-cursor-position-while-typing-in-edit-mode/8144</summary>
    <content type="html">&lt;div class=&#34;embed-card embed-card-external&#34;&gt;&#xA;  &lt;a href=&#34;https://forum.obsidian.md/t/hotkey-to-open-link-under-at-the-text-cursor-position-while-typing-in-edit-mode/8144&#34; class=&#34;embed-card-link&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&#xA;    &lt;div class=&#34;embed-card-image&#34;&gt;&#xA;      &lt;img class=&#34;glightbox&#34; src=&#34;https://forum.obsidian.md/uploads/default/original/3X/b/a/ba1a1301f580d34a881803aa5ed8cf7ff3cdf0ef.png&#34; alt=&#34;Hotkey to open link under at the text cursor position while typing in edit mode — I find myself not wanting to leave the keyboard for navigation and think a keyboard-only shortcut that could open a link at the text cursor position is at would be really handy for this case.&#34; loading=&#34;lazy&#34;/ data-glightbox=&#34;description: Hotkey to open link under at the text cursor position while typing in edit mode — I find myself not wanting to leave the keyboard for navigation and think a keyboard-only shortcut that could open a link at the text cursor position is at would be really handy for this case.&#34;&gt;&#xA;    &lt;/div&gt;&#xA;    &lt;div class=&#34;embed-card-content&#34;&gt;&#xA;      &lt;div class=&#34;embed-card-title&#34;&gt;Hotkey to open link under at the text cursor position while typing in edit mode&lt;/div&gt;&#xA;      &lt;div class=&#34;embed-card-description&#34;&gt;I find myself not wanting to leave the keyboard for navigation and think a keyboard-only shortcut that could open a link at the text cursor position is at would be really handy for this case.&lt;/div&gt;&#xA;      &lt;div class=&#34;embed-card-meta&#34;&gt;Obsidian Forum · forum.obsidian.md&lt;/div&gt;&#xA;    &lt;/div&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;Obsidian has a go to definition like feature, the keybind is alt+enter, I would have never guessed this one.&lt;/p&gt;&#xA;&lt;div class=&#34;admonition note&#34;&gt;&#xA;&lt;p class=&#34;admonition-title&#34;&gt;Note&lt;/p&gt;&#xA;&lt;p&gt;This post is a &lt;a href=&#34;/thoughts/&#34; class=&#34;wikilink&#34; data-title=&#34;Thoughts&#34; data-description=&#34;These are generally my thoughts on a web page or some sort of url, except a rare few don&amp;#39;t have a link. These are dual published off of my...&#34; data-date=&#34;2024-04-01&#34; data-preview=&#34;These are generally my thoughts on a web page or some sort of url, except a rare few don&amp;#39;t have a link. These are dual published off of my...&#34;&gt;thought&lt;/a&gt;. It’s a short note that I make&#xA;about someone else’s content online &lt;a href=&#34;/tags/thoughts/&#34; class=&#34;hashtag-tag&#34; data-tag=&#34;thoughts&#34; data-count=&#34;2&#34; data-reading-time=&#34;3&#34; data-reading-time-text=&#34;3 minutes&#34;&gt;#thoughts&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/div&gt;&#xA;</content>
    <author>
      <name>Waylon Walker</name>
      <email>hello@waylonwalker.com</email>
      <uri>https://waylonwalker.com</uri>
    </author>
  </entry>
  <entry>
    <title>Obsidian-go-to-definition</title>
    <id>https://waylonwalker.com/obsidian-go-to-definition/</id>
    <updated>2024-08-04T20:35:00Z</updated>
    <published>2024-08-04T20:35:00Z</published>
    <link href="https://waylonwalker.com/obsidian-go-to-definition/" rel="alternate" type="text/html"></link>
    <summary type="text">It was not obvious to me, but if you have a wikilink such as trying-obsidian, you can jump to the file in obsidian, just like you can with lsp go to...</summary>
    <content type="html">&lt;p&gt;It was not obvious to me, but if you have a wikilink such as &lt;a href=&#34;/trying-obsidian/&#34; class=&#34;wikilink&#34; data-title=&#34;Trying Obsidian&#34; data-description=&#34;I am giving obsidian a try, this is a test post to learn the flow. Something that has been really hard for me for a long time is images, I don&amp;#39;t include a...&#34; data-date=&#34;2024-07-31&#34; data-preview=&#34;I am giving obsidian a try, this is a test post to learn the flow. Something that has been really hard for me for a long time is images, I don&amp;#39;t include a...&#34;&gt;Trying Obsidian&lt;/a&gt;, you can jump to the file in obsidian, just like you can with lsp go to definition, the keybinding is alt + enter.&lt;/p&gt;&#xA;</content>
    <author>
      <name>Waylon Walker</name>
      <email>hello@waylonwalker.com</email>
      <uri>https://waylonwalker.com</uri>
    </author>
  </entry>
  <entry>
    <title>Obsidian Using Templater Like Copier</title>
    <id>https://waylonwalker.com/obsidian-using-templater-like-copier/</id>
    <updated>2024-07-31T13:34:00Z</updated>
    <published>2024-07-31T13:34:00Z</published>
    <link href="https://waylonwalker.com/obsidian-using-templater-like-copier/" rel="alternate" type="text/html"></link>
    <summary type="text">I&#39;ve long used copier to create all of my posts for my blog, and it works really well for my workflow. I think of a title, call a template, and give it a...</summary>
    <content type="html">&lt;p&gt;I’ve long used copier to create all of my posts for my blog, and it works&#xA;really well for my workflow.  I think of a title, call a template, and give it&#xA;a title.  out of the box obsidian did not seem to work this way.  It seems like&#xA;it wants me to right click a file tree and make a new file using the tree, this&#xA;is not my jam.&lt;/p&gt;&#xA;&lt;p&gt;Here is what I came up with to replace my til template.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;---&#xA;date: &amp;lt;% tp.file.creation_date() %&amp;gt;&#xA;templateKey: til&#xA;title: &amp;lt;%*&#xA;  const originalFileName = await tp.system.prompt(&amp;#34;Enter file name&amp;#34;);&#xA;  const toTitleCase = str =&amp;gt; str.replace(&#xA;    /\w\S*/g,&#xA;    txt =&amp;gt; txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase()&#xA;  );&#xA;  const title = toTitleCase(originalFileName);&#xA;  tR += title + &amp;#39;\n&amp;#39;; // Add the title to the template result&#xA;-%&amp;gt;&#xA;published: true&#xA;tags:&#xA;  -&#xA;---&#xA;&amp;lt;%*&#xA;const fileName = originalFileName.toLowerCase().replace(/\s+/g, &amp;#39;-&amp;#39;);&#xA;const newFilePath = `pages/til/${fileName}`;&#xA;await tp.file.move(newFilePath);&#xA;-%&amp;gt;&#xA;&#xA;&amp;lt;% tp.file.cursor() %&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;tR&lt;/code&gt; is a return value, and it gets placed directly into the place it is in the file&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;to.file.cursor()&lt;/code&gt; creates a tab-index point so I can tab into the content&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</content>
    <author>
      <name>Waylon Walker</name>
      <email>hello@waylonwalker.com</email>
      <uri>https://waylonwalker.com</uri>
    </author>
  </entry>
  <entry>
    <title>Obsidian Image Converter</title>
    <id>https://waylonwalker.com/obsidian-image-converter/</id>
    <updated>2024-07-30T21:09:35Z</updated>
    <published>2024-07-30T21:09:35Z</published>
    <link href="https://waylonwalker.com/obsidian-image-converter/" rel="alternate" type="text/html"></link>
    <summary type="text">I&#39;m giving obsidian a go as an editor for my blog and one of the main things I want to fix in my workflow is the ability to quickly drop in images. on first...</summary>
    <content type="html">&lt;p&gt;I’m giving obsidian a go as an editor for my blog and one of the main things I&#xA;want to fix in my workflow is the ability to quickly drop in images.  on first&#xA;look through the community plugins I found Image Converter.  I set it up to&#xA;convert to webp and drop them in a &lt;a href=&#34;/glossary/git/&#34; class=&#34;glossary-term&#34; title=&#34;Git is a version control system for tracking changes in source code during software development. In the beginning there were many, some were licensed. As...&#34;&gt;git&lt;/a&gt; submodule.  I may make it something&#xA;other than a git repo in the future, but I’ve learned that adding images to my&#xA;blog repo quickly makes it heavy and hard to clone on other machines.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;&lt;a href=&#34;https://dropper.waylonwalker.com/api/file/626d85b1-5588-45c4-a4f4-c372dc7c8ff3.webp&#34; class=&#34;glightbox-link&#34;&gt;&lt;img class=&#34;glightbox&#34; src=&#34;https://dropper.waylonwalker.com/api/file/626d85b1-5588-45c4-a4f4-c372dc7c8ff3.webp&#34; alt=&#34;obsidian-image-converter-20240731211310793.webp&#34;/ data-glightbox=&#34;description: obsidian-image-converter-20240731211310793.webp&#34;&gt;&lt;/a&gt;&#xA;&lt;/figure&gt;&#xA;&lt;p&gt;Once the images are there they are pushed and deployed as their own site to&#xA;cloudflare pages.  I made a quick edit to my &lt;a href=&#34;/sick-wikilink-hover/&#34; class=&#34;wikilink&#34; data-title=&#34;sick wikilink hover&#34; data-description=&#34;Today I set up some sick wikilink hover effects using tailwind see a-case-for-tailwindcss. When you hover over them they show an image preview of the link...&#34; data-date=&#34;2024-05-30&#34; data-preview=&#34;Today I set up some sick wikilink hover effects using tailwind see a-case-for-tailwindcss. When you hover over them they show an image preview of the link...&#34;&gt;sick wikilink hover&lt;/a&gt; plugin for&#xA;my blog.  if it sees a wikilink ending in webp, convert the domain over to&#xA;obsidian-assets.waylonwalker.com, and clean up the remaining &lt;code&gt;&amp;#34;!  &amp;#34;&lt;/code&gt; that the&#xA;python md-it library leaves behind.&lt;/p&gt;&#xA;&lt;div class=&#34;admonition note&#34;&gt;&#xA;&lt;p class=&#34;admonition-title&#34;&gt;Note&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;after first try I needed to increase the width from 600 to 1400, the image in this post was unreadable.&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;This is part of me getting set up and &lt;a href=&#34;/trying-obsidian/&#34; class=&#34;wikilink&#34; data-title=&#34;Trying Obsidian&#34; data-description=&#34;I am giving obsidian a try, this is a test post to learn the flow. Something that has been really hard for me for a long time is images, I don&amp;#39;t include a...&#34; data-date=&#34;2024-07-31&#34; data-preview=&#34;I am giving obsidian a try, this is a test post to learn the flow. Something that has been really hard for me for a long time is images, I don&amp;#39;t include a...&#34;&gt;Trying Obsidian&lt;/a&gt;&lt;/p&gt;&#xA;</content>
    <author>
      <name>Waylon Walker</name>
      <email>hello@waylonwalker.com</email>
      <uri>https://waylonwalker.com</uri>
    </author>
  </entry>
</feed>