muckmuck96 / obsidian-md-to-jira

An obsidian.md plugin, which provides a markdown to jira markup converter
MIT License
27 stars 1 forks source link

List levels are not correctly mapped to Jira markdown #3

Closed BartoszCiesla closed 12 months ago

BartoszCiesla commented 1 year ago

Following list in Obsidian

- top level 1
    - sub item 1
    - sub item 2
- top level 2
    - sub item 3

is translated into

-- top level 1
- sub item 1
- sub item 2
- top level 2
- sub item 3

which is not correct. It should be something like

- top level 1
-- sub item 1
-- sub item 2
- top level 2
-- sub item 3

I'm using latest version of the plugin (0.0.3) and Obsidian v1.4.14

muckmuck96 commented 1 year ago

I took a look at the relevant post and agree with you, I will make appropriate adjustments there and bring forward a smaller update.

BartoszCiesla commented 1 year ago

Thanks, I appreciate that. I find your plugin very useful.

muckmuck96 commented 1 year ago

I'm glad to hear that, I'll update soon so that callouts can be transferred as well.

muckmuck96 commented 12 months ago

The latest version now fixes the bug and support callouts too. 👍

BartoszCiesla commented 12 months ago

Thanks for fixing but after upgrade to 0.1.0 I'm having different kind of problem - when I try to migrate note to Jira format I get only last line - for example for:

- top level 1
    - sub item 1
    - sub item 2
- top level 2
    - sub item 3

#tag #other 

note conversion gives me only this:

h1.tag #other 

Same for the selection - only last line is being copied

muckmuck96 commented 12 months ago

Thank you for this report. I directly fixed it and published a hotfix for it. Tags are not fully supported yet.