<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
    <title>passthejoe by Steven Rosenberg - scripting</title>
    <subtitle>A blog created in Zola</subtitle>
    <link rel="self" type="application/atom+xml" href="https://tilde.club/~passthejoe/zola/tags/scripting/atom.xml"/>
    <link rel="alternate" type="text/html" href="https://tilde.club/~passthejoe/zola"/>
    <generator uri="https://www.getzola.org/">Zola</generator>
    <updated>2026-04-04T00:00:00+00:00</updated>
    <id>https://tilde.club/~passthejoe/zola/tags/scripting/atom.xml</id>
    <entry xml:lang="en">
        <title>The Duplicate Note script in QOwnNotes copies Zola&#x27;s TOML front matter into a new post</title>
        <published>2026-04-04T00:00:00+00:00</published>
        <updated>2026-04-04T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Steven Rosenberg
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://tilde.club/~passthejoe/zola/blog/duplicate-note-in-qownnotes/"/>
        <id>https://tilde.club/~passthejoe/zola/blog/duplicate-note-in-qownnotes/</id>
        
        <content type="html" xml:base="https://tilde.club/~passthejoe/zola/blog/duplicate-note-in-qownnotes/">&lt;p&gt;I got a little deeper into QOwnNotes today. My goal was to script a way to easily start a new post with Zola front matter already in the note. For now I found an existing script in QOwnNotes called Duplicate Note.&lt;&#x2F;p&gt;
&lt;p&gt;I created a note with the &quot;raw&quot; Zola post TOML front matter, and now I can select the note, right-click and duplicate it to begin the new post.&lt;&#x2F;p&gt;
&lt;p&gt;I still have to name the note, though I don&#x27;t have to type in a file name when exporting to the blog folder. And it&#x27;s a time-saver because I don&#x27;t have to leave QOwnNotes to find the front matter and copy&#x2F;paste it into the new post.&lt;&#x2F;p&gt;
&lt;p&gt;Go to &lt;code&gt;Scripting -&amp;gt; Find scripts in script repository&lt;&#x2F;code&gt;, or click &lt;code&gt;alt-shift-I&lt;&#x2F;code&gt; to get to the pre-made scripts and then search for &lt;code&gt;Duplicate note&lt;&#x2F;code&gt;. Then select and install the script.&lt;&#x2F;p&gt;
&lt;p&gt;There is &lt;a rel=&quot;noopener&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;www.qownnotes.org&#x2F;scripting&#x2F;&quot;&gt;documentation for making your own scripts&lt;&#x2F;a&gt;, and that&#x27;s something I will leave for later. I think the move is adding a button or menu entry to automatically generate a &quot;blank&quot; note with all the TOML front matter in it. But for now, &lt;code&gt;Duplicate note&lt;&#x2F;code&gt; should do the job.&lt;&#x2F;p&gt;
</content>
        
    </entry>
</feed>
