You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got a page, and immediately was prompted with the folder selection list that the templater example had. My Templater configuration does not have a configured folder overlapping the slurp directory, fwiw.
Page in slurped target folder:
TITLE: Create file after choosing a folder
---
link: https://forum.obsidian.md/t/create-file-after-choosing-a-folder/34311
site: Obsidian Forum
date: 2022-03-19T16:00
excerpt: This is a templater script for creating a file after choosing a
folder (make sure to put in your template folder and invoke it through open
insert templater modal command) slurped: 2024-05-09T16:43:53.634Z
title: Create file after choosing a folder
---
![Obsidian Forum](data:image/svg;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Loading
Log - this test was controlled and prepped, but since the configuration doesn't have a clear log or insert break, I copied before and after and used Beyond Compare to find the new stuff.
1715273033628 | DEBUG | attempting to parse prop metadata
I may be misunderstanding what you mean here, but I would greatly prefer not stripping anything out - the code was what I wanted to record, specifically.
Is what you're talking about some kind of add / remove process where you sanitize the <% with some other characters and then find/replace them after they are on the page, where the end result is still the content but side-stepping the Templater eval process?
This specific parsing is from Templater, not Obsidian, so I wouldn't expect sanitization built-in.
It's probably something that would require integration effort from both slurp and Templater. I didn't see an API or integration section in their documentation, unfortunately, but I haven't checked the issues to see if this is a thing in closed or open issues.
This was fun. :)
I tried slurping this:
https://forum.obsidian.md/t/create-file-after-choosing-a-folder/34311
The forums generally can't be targeted by Slurp effectively, but this one was a single post so I wanted to see if I could save the snippet.
I got a page, and immediately was prompted with the folder selection list that the templater example had. My Templater configuration does not have a configured folder overlapping the slurp directory, fwiw.
Page in slurped target folder:
Log - this test was controlled and prepped, but since the configuration doesn't have a clear log or insert break, I copied before and after and used Beyond Compare to find the new stuff.
1715273033628 | DEBUG | attempting to parse prop metadata
SlurpPlugin.slurp (plugin:slurp:12370:30)
1715273033628 | DEBUG | found prop elements
SlurpPlugin.slurp (plugin:slurp:12370:30)
1715273033628 | DEBUG | found prop elements
SlurpPlugin.slurp (plugin:slurp:12370:30)
1715273033628 | DEBUG | found prop elements
SlurpPlugin.slurp (plugin:slurp:12370:30)
1715273033628 | DEBUG | found prop elements
SlurpPlugin.slurp (plugin:slurp:12370:30)
1715273033628 | DEBUG | adding metadata
SlurpPlugin.slurp (plugin:slurp:12370:30)
1715273033628 | DEBUG | attempting to parse prop metadata
SlurpPlugin.slurp (plugin:slurp:12370:30)
1715273033628 | DEBUG | found prop elements
SlurpPlugin.slurp (plugin:slurp:12370:30)
1715273033628 | DEBUG | found prop elements
SlurpPlugin.slurp (plugin:slurp:12370:30)
1715273033628 | DEBUG | found prop elements
SlurpPlugin.slurp (plugin:slurp:12370:30)
1715273033628 | DEBUG | found prop elements
SlurpPlugin.slurp (plugin:slurp:12370:30)
1715273033628 | DEBUG | attempting to parse prop metadata
SlurpPlugin.slurp (plugin:slurp:12370:30)
1715273033628 | DEBUG | found prop elements
SlurpPlugin.slurp (plugin:slurp:12370:30)
1715273033628 | DEBUG | found prop elements
SlurpPlugin.slurp (plugin:slurp:12370:30)
1715273033628 | DEBUG | found prop elements
SlurpPlugin.slurp (plugin:slurp:12370:30)
1715273033628 | DEBUG | found prop elements
SlurpPlugin.slurp (plugin:slurp:12370:30)
1715273033628 | DEBUG | found prop elements
SlurpPlugin.slurp (plugin:slurp:12370:30)
1715273033628 | DEBUG | attempting to parse prop metadata
SlurpPlugin.slurp (plugin:slurp:12370:30)
1715273033628 | DEBUG | found prop elements
SlurpPlugin.slurp (plugin:slurp:12370:30)
1715273033628 | DEBUG | found prop elements
SlurpPlugin.slurp (plugin:slurp:12370:30)
1715273033628 | DEBUG | found prop elements
SlurpPlugin.slurp (plugin:slurp:12370:30)
1715273033628 | DEBUG | found prop elements
SlurpPlugin.slurp (plugin:slurp:12370:30)
1715273033628 | DEBUG | attempting to parse prop metadata
SlurpPlugin.slurp (plugin:slurp:12370:30)
The text was updated successfully, but these errors were encountered: