Comments (8)
If you use Templater, paste to template this code:
<%*
const waypoint = "%% Way" + "point %%";
tR += waypoint;
%>
Works for me :)
from waypoint.
Came across this problem as well. Creating a template file with %% Waypoint %%
will result in immediate evaluation, and an error message(waypoint cannot be used in folder notes) replaces the waypoint. My current workaround for this is that I created a folder note for my template folder and put the waypoint command in this folder note. This produces valid waypoint, and whenever I use the template (for example, in Folder Note), the waypoint is then re-evaluated and updated to the correct value. I imagine if you need different templates with waypoint commands in them, then you can create a folder for each of them and put the template in the corresponding folder notes.
from waypoint.
I have the same problem. What I do is use %% waypoint %_%
with a space, so that it doesn't automatically give an error message (about the template file not being a folder note).
Potential solution would be an option to override the automatic error setting, so that you could manually allow the syntax to appear in notes that are not folder notes.
from waypoint.
Responded to a different issue and found a solution that might help.
#SilentVoid13/Templater#1329 (reply in thread)
Not sure how to link to a discussion, apologies.
from waypoint.
Thanks @manihindrich , I will have a try.
from waypoint.
it really works! thanks a lot, cheers!
from waypoint.
I was happy to help :) so you can close the issue.
from waypoint.
Another way to have a template not activate
%% Waypoint %<% tp.file.cursor(1) %>%
If set up this way, it will activate whenever you create a Folder Note without the initial template activating.
You can use Templater to create a Hotkey for Waypoint as well if you want more control.
%% Waypoint %<% tp.file.cursor(1) %>%
- Create a Template with only this in the body of the note
- Set up the Hotkey in Templater settings
- Pick keys to create (I used CTRL CMD W)
- After creating a Folder Note via Folder Notes Plugin, insert the command via the Hotkey or Command Menu, and you should be good to go.
I hope I've explained this well enough, if not, I'll try to expand if anyone has questions.
from waypoint.
Related Issues (20)
- [Feature Request] Sort folders before files HOT 3
- Version 2.0.0 ignores 'Use WikiLinks' setting in some circumstances HOT 1
- [Feature Request] Option to match syntax of Folder Note setting regarding name of folder note HOT 2
- `Ignored Files/Folders` doesn't seems to ignore my templates HOT 3
- Feature Request: Sort Order HOT 1
- All waypoints are "null" when nothing is in ignore regex HOT 3
- Bug? All waypoint links are markdown HOT 2
- CSS to have different colors for folders and files in Waypoint MOC.
- Waypoint callout is Bugged HOT 1
- Feature request: let me create waypoints and landmarks in the root anyway.
- [Feature Request] Add possibility to exclude/include files from the generated list based on their metadata
- [Feature Request] content list optionally be created folded HOT 1
- [Feature Request] Custom folder path
- [Feature Request] A few select non-Folder notes
- Automate for entire Vault
- [Feature request] Automatically exclude folders that do not contain markdown files
- Allow waypoint in any note
- Waypoint plugin and Syncthing
- Allow notes that is already linked not linked to waypoint folder note. let waypoint only link notes that is not linked by other notes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from waypoint.