logseq / logseq/mldoc

Cannot convert from markdown to org; gives error

Open
#125 1 comment 1 reaction 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

Trying to convert any `.md` file to `.org` using `mldoc` fails with an error:

```
% cat test.md
- Test
% mldoc convert -i test.md -o test.org
...
Reading data from file...
Parsing file...
Converting to org

/Users/garyo/.nvm/versions/node/v16.17.0/lib/node_modules/mldoc/index.js:1124
a=f;continue}throw A}}function
^
[ 248, dr { t: 9, c: 'Not_found', l: 9 }, -7 ]
```

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 failure with the supplied test.md and `mldoc convert -i test.md -o test.org`, then trace the Markdown-to-Org conversion path that produces the Not_found error. Done means a Markdown file converts to an Org file without the reported exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.