https://www.dendron.so/ logo
c

Chairos

02/23/2022, 2:42 PM
Hi! Yes, I mean that I think
h

hikchoi

02/23/2022, 2:48 PM
If so, they should be automatically handled. Can you share a minimal example of this not working?
c

Chairos

02/23/2022, 3:04 PM
Sure 🙂
--- id: HOLBmuL0J1pb2D0vUqtSi title: "How learning works: a breakdown" desc: '' updated: 1639047001698 created: 1637854942734 --- ![](/assets/images/learning.png) A clean example of how the learning process should NOT go ## About Learning By learning, we refer to the process of converting acquired [data](/learning.data.md) to thoughts or actions which can be recalled or replicated at will with minimum effort. This process could be divided into four main subprocesses.
This is learning.md
---------------------------------------------------------
--- id: qUX5llAoOe06OICtLqQYX title: "How data works: a breakdown" desc: '' updated: 1638374357051 created: 1638182011479 --- ![](/assets/images/data.png) data, an unorganized set of stimulus ## About Data By data, we refer to unorganized sets of [stimuli](/learning/stimulus.md) from one or more [mediums](/learning/data/medium.md) caused by interaction with the surrounding [environment](/learning/data/environment.md) in a given [context](/learning/data/context.md). Going by this definition, we can desume that data is what we perceive with our senses while interacting with our surroundings.
This is learning.data.md
If you create the two notes and try to Dendron: Export pod > dendron.markdown, the link should remain /learning.data.md instead of becoming /learning/data.md with the latter obviously being the working one 🙂
h

hikchoi

02/23/2022, 3:20 PM
The markdown export pod is used to convert Dendron specific syntax (e.g. wikilinks) to vanilla markdown. Since both of your notes are already vanilla markdown, I think it would be easier to just copy paste the note body. markdown export pod changes the dot notation that we use for hierarchies into slash notations because it's mainly used to export them into a folder based organization.
The typical way to make links in Dendron is
[[data|learning.data]]
by the way, instead of
[data](/learning.data.md)
.
@User I'm not aware if we support disabling the dot-to-slash conversion in markdown export pods. can you confirm?
j

Joshi

02/23/2022, 3:48 PM
Markdown Export does the dot-to-slash conversion for wiki links. So [[data|learning.data]] would be [data](/learning/data)
h

hikchoi

02/23/2022, 3:49 PM
it looks like regular markdown links are also going through the dot-to-slash conversion. is this intended?
j

Joshi

02/23/2022, 4:02 PM
Hmm.. I did markdown export for this note and the exported note has the markdown link preserved as
[data](/learning.data.md)
.
This is the intended behavior to preserve the markdown links and convert the dendron-specific wikilinks to go through through the dot-to-slash conversion.
c

Chairos

02/23/2022, 4:06 PM
I apologize, I think I didnt' understand 😦
I get I'm inserting markdown links instead of dendron-specific links I guess, could you please give me an example of how a dendron-specific link is written? I'm aiming to publish the exported markdown pod to GitHub as a wiki, that way it's easy do to version control and to share the result
j

Joshi

02/23/2022, 4:15 PM
Dendron helps you create links between notes(aka wikilinks). In the above notes, you can write` [[Data | learning.data]]` inside
learning.md
to link both notes. A quick tip: You can use
Dendron: Copy Note Link
command to copy a note's link. Or just Right-click on the editor and select
Dendron: Copy Note Link
from the menu. More info on linking note: https://wiki.dendron.so/notes/9MZBqhrijEM4QpZRa5t08/#links
c

Chairos

02/23/2022, 8:38 PM
Thanks a lot! Gonna try to export wiki links and see if it gets correctly converted 😄
Tried with the linking notes, sadly things didn't go well 😦
Sadly the url doesn't add .md so the file cannot be found 😦 Isn't there any way to automatically tell dendron to add file extension to the end of the path? Wiki links are really much more useful
@User
j

Joshi

02/25/2022, 9:48 AM
Hey @User , we don't support this now, but you can raise a feature request to add extensions to wikilinks on markdown export. https://github.com/dendronhq/dendron/issues/new?assignees=&labels=&template=feature_request.md&title= On the other note, if your sole purpose is publishing your notes, maybe you can give Dendron Publishing a try?
c

Chairos

02/25/2022, 9:51 AM
Dendron publishing? I'm missing this knowledge right now, my aim is to publish it like a wiki on github
I already opened a feature request some time ago, but if I recall correctly it was closed since it was deemed incompatible with the purpouse of markdown export
j

Joshi

02/25/2022, 10:06 AM
Dendron publishing would publish your notes like Dendron wiki (https://wiki.dendron.so/) Maybe @User or @User have some ideas on publishing like a github wiki.
c

Chairos

02/25/2022, 10:23 AM
Thanks! I'll take a look 😄
h

hikchoi

02/25/2022, 10:58 AM
If you are going to use Github to browse around your notes, Github treats the leading slash in relative links as "relative to the root of your repository". This is why it's 404-ing for you. I'm not sure what exact structure you are using in your repository, so I can't give you the exact way to fix this, but take a look at this for how to make the relative links work: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes#relative-links-and-image-paths-in-readme-files
Also, like @User mentioned, Dendron lets you publish a static website. Our official wiki (wiki.dendron.so/) is all written with Dendron and available here (github.com/dendronhq/dendron-site), and published with our own publishing feature. You can find how to do it yourself here: https://wiki.dendron.so/notes/4ushYTDoX0TYQ1FDtGQSg/
If you want more examples: here is my personal one (https://github.com/hikchoi/cerebrarium) which is published here (https://cerebrarium.garden/)
if using the Github Wiki feature is a must, Github lets you clone your project's wiki separately too, which can be done by adding
.wiki.git
to the repository's git url. I'm not exactly sure how they handle markdown links there, and our export pod currently doesn't support exporting in a format that GitHub Wiki recognizes.
4 Views