Support denote file-naming scheme #551
TristanCacqueray
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
This is basically like #552 but with different scheme logic. How about writing a general mechanism that can polymorphically support many such schemes like this? Thus, there will be less of hardcoded logic in code (as those logic would be decoupled into the concept of schemes). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am evaluating denote and I am looking for using it with emanote.
In short, denote uses the following file naming convention:
DATE--TITLE__KEYWORDS.EXT
, theDATE
acting like a uid. Here is an example file named20240926T193355--this-is-a-test__denote_emanote.md
:Looking at the
Emanote.Model.Link
modules, it doesn't seem too complicated to handle thedenote:
linking scheme, so my request is more about the route slug. I would like to render the html as2024-09-26_this-is-a-test
, e.g. by removing the time and tags (when the file name match the denote convention). Where should I implement this renaming and how to handle conflicts?Does that sounds like a good idea to you (cc @srid)?
Cheers,
-Tristan
Beta Was this translation helpful? Give feedback.
All reactions