nextcloud / nextcloud/notes

Importing interlinked markdown files

Open
#974 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement needs discussion
Dominant language
JavaScript
Stars
738
Forks
162
Avg merge
6h 2m
Merged PRs (30d)
35

Description

Is your feature request related to a problem? Please describe.

Yes. I need to import many interlinked markdown files. Of course, I do not have have the generated fileIds that typically get generated to track the files. I can write a write a program and script to perform the import. Can you please recommend the best way for me to do this?

Possibly related: https://github.com/nextcloud/notes/issues/616

Thank you..

Describe the solution you'd like

A way to load relative links, even if they get updated after I load them.

Ideally, I should be able to drop the correctly formatted files in a webdav drive and see notes link them all up and index for searching.

Describe alternatives you've considered

Less desirable, an API to load each file and get the file ID and update all the other links going in. Ideally that would be better done with a more flexible linking mechanism in notes though.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by reviewing the related issue 616 and the existing WebDAV import, relative-link handling, and search indexing behavior; done would mean interlinked Markdown files can be imported without generated file IDs, retain working relative links after updates, and appear in search.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, markdown
Domain
backend, search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.