logseq / logseq/mldoc

Org convert to Markdown has wrong URL link format

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

Nobody has claimed this yet.

Dominant language
OCaml
Stars
281
Forks
30
Avg merge
5h 30m
Merged PRs (30d)
4

Description

I try to use this tool to convert my logseq org-mode file into MD, all things right, but URL has broken.

This is original org-mode file

* Blog.Agency
:PROPERTIES:
:collapsed: true
:END:
** [[https://sylvainmenguy.com/en/][Sylvain Menguy - blog]]
** Minecraft 国家建筑师
:PROPERTIES:
:collapsed: true
:END:
*** [[https://space.bilibili.com/24323][国家建筑师Cthuwork]]
** [[https://gamediscover.co/][GameDiscoverCo]]

And after converting, there is MD file

- Blog.Agency  
:PROPERTIES:
:collapsed: true
:END:
	- [[https://sylvainmenguy.com/en/][Sylvain Menguy - blog]]  
	- Minecraft 国家建筑师  
:PROPERTIES:
	  :collapsed: true
:END:
		- [[https://space.bilibili.com/24323][国家建筑师Cthuwork]]  
	- [[https://gamediscover.co/][GameDiscoverCo]]  

The URLs in the converted MD file are still org-mode format, so they can’t be rendered correctly.

Contributor guide

No contributing guide indexed for this repository

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

Reproduce the conversion with the Org-mode example in the issue and inspect the Org-to-Markdown conversion entry point. Verify the generated output uses Markdown link syntax rather than Org-mode syntax and renders the three URLs correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.