pdazero Posted July 22, 2020 Posted July 22, 2020 Ok, I think I found some additional unicode-related bugs. 1) Filename "Planificación status.md" Alfred "mds planificacion" does NOT find that file, but did find other files that have the "planificacion" word (without accents) inside the note Alfred "mds planificación" didn't find any files! Alfred "mds planificaci" found all files, with and without accents. 2) Tag with accents don't work well "#PlanificaciónEstratégica" Alfred "md#planif" shows a hit of "planificacio" tag (does NOT exist) and after pressing enter no notes are shown Alfred "md#planificació" shows hits of "planificación" (does NOT exist) and "planificaciónestrate" (does NOT exist) , after pressing enter on either no notes are shown Alfred "md#planificaciónestratégica" shows "planificaciónestratégica" (does exist), after pressing enter no notes are shown You can replicate my adding the attached MD file: https://www.dropbox.com/t/GLIPNt6Pu5tk1MJ9 BTW If you bear with me learning, I would happily invest time in suggesting code to fix these problems, but I need to know where to start. I'm overwhelmed by this unicode hell hehe.
infinite_okay Posted July 27, 2020 Posted July 27, 2020 This workflow has been fantastic. Its fast, and has already changed how I do things. I've been interested in the zettelkasten filing method and have been tying to find a way to prefix the {date} to the name of the file when its being created, specifically "YYYYddmmHHMM". So that when you input for {title}, title="{date}(input).md." This isn't an issue, just curious if you have any thoughts. Im still very new with python. And thanks! Its definitely becoming one of my favorite workflows. Gonna try out your alfred-vscode repository next.
Acidham Posted July 27, 2020 Author Posted July 27, 2020 Just released Alfred Markdown Notes version 3.0.0 NOTE: Version 3.0.0 only runs with Python 3.7 and above.
pdazero Posted July 27, 2020 Posted July 27, 2020 On 7/22/2020 at 10:45 AM, pdazero said: Ok, I think I found some additional unicode-related bugs. @Acidham thank you for your continued development on this superb workflow ! I update the bugs above in 3.0.0: 1) Filename "Planificación status.md" Quote Alfred "mds planificación" didn't find any files! Partially fixed. Now it finds exact "planificación" matches on filenames, but did not find matches inside note files. 2) Tag with accents don't work well "#PlanificaciónEstratégica" Quote Alfred "md#planif" shows a hit of "planificacio" tag (does NOT exist) and after pressing enter no notes are shown This is fixed, and shows both tags "#planificación" and "#planificaciónestratégica" Quote Alfred "md#planificació" shows hits of "planificación" (does NOT exist) and "planificaciónestrate" (does NOT exist) , after pressing enter on either no notes are shown New behavior: Alfred "md#planificació" does not show any hits, but should show the same hits as "md#planif". Quote Alfred "md#planificaciónestratégica" shows "planificaciónestratégica" (does exist), after pressing enter no notes are shown New behavior: Alfred "md#planificación" and "md#planificaciónestratégica", same problem, no hits whatsoever. Thanks !
pdazero Posted July 27, 2020 Posted July 27, 2020 6 hours ago, infinite_okay said: I've been interested in the zettelkasten filing method and have been tying to find a way to prefix the {date} to the name of the file when its being created, specifically "YYYYddmmHHMM". So that when you input for {title}, title="{date}(input).md." I did a small hack to this alfred-note workflow (scroll back a few posts and you'll see it), but the code is deleted every time the workflow is updated. What I use now is a keyboard maestro macro that paste the current ZettelID, so I do Alfred "mdc (key combo) title bla bla" and I get proper zettel filename.
Acidham Posted July 27, 2020 Author Posted July 27, 2020 @pdazero My first prio was to upgrade to Python 3 which I released now. I will look into your issues afterwards. I am thinking of implementing custom note title patterns similar to the data format setting. But for now you need to live with your hack or maestro script, sry. pdazero 1
infinite_okay Posted July 27, 2020 Posted July 27, 2020 1 hour ago, pdazero said: I did a small hack to this alfred-note workflow (scroll back a few posts and you'll see it), but the code is deleted every time the workflow is updated. What I use now is a keyboard maestro macro that paste the current ZettelID, so I do Alfred "mdc (key combo) title bla bla" and I get proper zettel filename. Hey, good idea! 1 hour ago, Acidham said: @pdazero My first prio was to upgrade to Python 3 which I released now. I will look into your issues afterwards. I am thinking of implementing custom note title patterns similar to the data format setting. But for now you need to live with your hack or maestro script, sry. I'll be fine with a hack for until then. Thanks!
Acidham Posted July 30, 2020 Author Posted July 30, 2020 @pdazero, @infinite_okay I implemented filename_format setting. Please download the beta version from GIT: https://github.com/Acidham/alfred-markdown-notes and test Note: Do not download latest release from git because that version is still 3.0.1 where the one in repo is 3.0.2 Feedback would be appreciated.
infinite_okay Posted August 2, 2020 Posted August 2, 2020 (edited) Great! I'm glad you made this available. I'll let you know if I run into anything, nothing so far. Edited August 2, 2020 by infinite_okay Acidham 1
ams Posted August 9, 2020 Posted August 9, 2020 Hi! New Alfred user, so sorry if this is a silly question! I downloaded the workflow and didn't change any of the default settings, except I set a filepath. However, when I try to run it on alfred, I get this error message. Am I missing something? [07:53:36.606] Logging Started... [07:53:40.753] Markdown Notes[Script Filter] Queuing argument '' [07:53:40.827] Markdown Notes[Script Filter] Script with argv '' finished [07:53:40.831] ERROR: Markdown Notes[Script Filter] Code 127: env: python3: No such file or directory
Acidham Posted November 3, 2020 Author Posted November 3, 2020 (edited) @ams On which macOS version are you using the workflow? It seems python 3 cannot be found. What is the output when you type: python3 -V into the terminal? Edited November 3, 2020 by Acidham
Luddite Posted November 8, 2020 Posted November 8, 2020 (edited) Pardon my silly question. If I understand correctly, when I activate Alfred and type `mdc`, I'm supposed to see a drop-down list of my templates inside the notes folder. From that list, I can select the template to create a note from. But I see none. All I can do is to type note title, enter, and then get a new note created from the default template. Edited November 8, 2020 by Luddite
Acidham Posted November 8, 2020 Author Posted November 8, 2020 When you would like to use custom templates you need to : 1. define template_tag in config e.g. #MyTemplate 2. Create a Template by simply create a md note and add #MyTemplate to the list of tags...save 3. Type `mdc` And you will see a list of your custom templates containing #MyTemplate See also README.md to learn how to use Templates hope that helps...
Corrie Posted June 19, 2021 Posted June 19, 2021 Thank you so much for this workflow. This is an amazing workflow that has added an extra layer to my Zettlekasten workflow. I edited the workflow so it works with Zettlr shared your link on the Zettlr reddit page. Acidham 1
JustMeJulia Posted October 2, 2021 Posted October 2, 2021 Hello First, thank you so much for this workflow, which has made working with my files so much easier. I was wondering if it was possible to change the indicator for what a tag is? Currently, tags are written <#tag>, and I would like to change that to <@tag>. Since Typora isn't available on iOS/iPadOS, I'm trying Notebooks app on the mobile devices (yes, I have tried and discarded every other tool, for various reasons), and Notebooks app renders tags with the hash as headings. That's why I'd like to use the at-sign instead, as that would then still allow me to use Alfred+this workflow on the Mac, and on my mobile devices Notebooks wouldn't choke on the hash-sign anymore. I looked through the workflow, but I'm no programmer and I couldn't find a way to simply redefine the symbol. If that would be possible in any way, I'd really appreciate a tip on how to accomplish that. Thanks!
Acidham Posted October 2, 2021 Author Posted October 2, 2021 (edited) I am using 1Writer on ios which does what you are looking for. the only thing is you need to point md_notes path in md notes on hour mac to 1Writer icloud path. 1writer will render all tags similar to typora. hope that helps … Edited October 2, 2021 by Acidham
deanishe Posted October 3, 2021 Posted October 3, 2021 (edited) 16 hours ago, JustMeJulia said: Notebooks app renders tags with the hash as headings. Might be worth talking to Notebooks' developers about that. There's no real consensus, but many Markdown parsers require headings to have a space after the # sign, so #this is rendered as normal text and # this is a heading. Edited October 3, 2021 by deanishe Acidham 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now