Comments (6)
I think that adding to the md-roam-insert logic and supporting standard markdown links sounds most appealing from a workflow perspective. Obviously no rush to implement but that sounds cool to play around with.
from md-roam.
Hmm.
I don't seem to be able to reproduce the problem.
See the screen shot below. I'm on Windows 10. Not sure if the OS influences this, but what is your OS?
I have not seen any issue or pull request for Org-roam on this, but would you like to try updating Org-roam?
Does this example cover your cases you reported? Anything missed?
- file name: "testmd with space.md"
- title: "markdown file with space in the file name"
- Backlink from an existing note works.
org-roam-insert
shows the test file name with spaces
from md-roam.
I updated org-roam and still see the same behavior. I'm also on MacOS.
To clarify, once I changed my filenames to no longer have spaces I was able to build the org-roam.db and use org-roam-insert without issue, maybe that was a separate issue unrelated to the other problem I have where files with spaces in the title don't have any backlinks. Although your example covers my cases and has backlinks so maybe there's something else happening.
I'll include two screenshots to show what I mean:
My website note has backlinks and works as expected. However the digital garden note below which is linked in website does not display website as a backlink.
from md-roam.
Your UI looks impressive. I’m also very happy to see Md-roam in action in a really beautiful way like you do. Thank you.
Now... I’ll take a guess here....
Your expectation is that [[wiki link]]
is a link via title of your note. Is this correct? That is, you expect [[digital garden]]
to point to the file named digital-garden.md
(that is entitled “digital garden” in the front matter). Let me know if I am mistaken...
If so, I am afraid that I might disappoint you. The way wiki link works at the moment is that it uses the filename to link to another note. The syntax is [[filename without the extension]]
. With your example, it needs to be [[digital-garden]]
because the filename is digital-garden.md
. So.... if you had a filename digital garden.md
, it should work with [[digital garden]]
— if not, and if this had been what you have been trying to communicate to me, I will need to look further.
On a separate, but related note, there is a pending pull request on Org-roam that adds a related feature. I wanted to see how this might be incorporated.
I’m also looking to improve the wiki link syntax to be a bit more fluid in the note’s body of text like you are doing. This PR might be a very advanced starting point for that effort.
from md-roam.
Thanks for that compliment! I'm using the doom-tomorrow-day with the Adobe Garamond font and mixed-pitch-mode!
You're right I was misunderstanding what the [[wiki link]]
was using to create links. That also explains why it wasn't finding aliases when I used them.
Hopefully that pending pull request opens up new possibilities, but for now I'll consider this closed.
Thanks!
from md-roam.
@dschapman, in the meantime, I’m considering two additional features, based on this issue and looking at how you currently creates your website:
-
Support the standard Markdown link syntax — `description, or title if any for backlinks
-
Add a function to swap [[filename without extension]] and the Markdown syntax
I cannot really promise that I have enough skill to do both, but I’ll give it a shot. I won’t be able to do much this week or weekend, but looking to do something after that (and hopefully ship something within July...).
If I’m successful, then, I think it will let you use [[filename without .md]] to write your note, and then swap it to (title)[./filename.md] for publishing for Gatsby... Or add to the logic of md-roam-insert
to allow an option to directly insert the Markdown link... Something like this.
Do you think that will be useful? Any thoughts?
from md-roam.
Related Issues (20)
- Remove ID Properties on capture template HOT 2
- Add subnode in same file HOT 1
- [FR] Please get into Melpa HOT 3
- [FR] Changing default link style to markdown + :PROPERTIES: on new file generation HOT 3
- Mass conversion of md files to allow for syncing HOT 4
- org-roam-node-insert with new note HOT 5
- Cursor placed at the start of the last header line prevents use of templates HOT 3
- md-roam-follow-wiki-link looks for node without stripping 'roam:' prefix HOT 8
- Convert roam markdown files to org HOT 7
- What is the minimal requirement for md files to be recognized as org-roam nodes? Thank you very much. HOT 7
- [Feature] Support of org-mode TODOs within md files HOT 4
- [Bug] Cannot find entry with ID after creation with org-roam template in latest org-roam HOT 24
- Empty Markdown links trigger 'Args out of range' error HOT 6
- An option to customize the note id HOT 3
- Support for multiple file extensions? HOT 2
- [Bug] Agenda C-c C-t binding throwing error with md-roam HOT 15
- question on how to use md-roam HOT 3
- Question: How do we configure org-roam/md-roam so that IDs are compatible with Obsidian? HOT 7
- "@" symbol in .md file leads to broken links with MDRoam and OrgRoamUI? HOT 4
- Run into "range error" while opening a .md file HOT 10
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 md-roam.