How to insert note filename?

Thanks for the support @gino_m what is the link where I can ask for feature to devs ?

  • Search before you issue a new request. There may be an existing or similar request that needs an upvote or some lines of support.

Make the filename a link — those automatically update when the filename is renamed.

But then you need to put the links in double quotes.

So your template could look something like:

---
title:
  - "[[<%tp.file.title%>]]"
aliases:
  - <%tp.file.title.toLowerCase()%>
tags:
  - sometag1
  - sometag2
publish: true
parent_topic:
  - <% tp.system.prompt("Care to add more parent topic?") %>
  - <% tp.system.prompt("Want to define parent topic?") %>
date created: <%tp.date.now("YYYY-MM-DD")%>
date modified: <%tp.date.now("YYYY-MM-DD")%>
---

# <%tp.file.title%>

<% tp.file.cursor(1) %>
  • Delete what you don’t need and change tags, whatever.

When a link with double quotes is used, a disconcerting message (Type mismatch - expected Text) appears with a triangle.
Not using quotes is asking for trouble.

I don’t think the original question was asking about properties, but yeah.

I don’t talk or care about properties. Properties wants us to talk about it. :slight_smile:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.