Skip to content

feat: convert numbered-list bullets#45

Open
Tuscan-blue wants to merge 3 commits intosawhney17:mainfrom
Tuscan-blue:main
Open

feat: convert numbered-list bullets#45
Tuscan-blue wants to merge 3 commits intosawhney17:mainfrom
Tuscan-blue:main

Conversation

@Tuscan-blue
Copy link
Copy Markdown

What happend?

For example, if I use the number-list type in logseq and input something:

image

image

The actual contents in the .md file which is in the publicExport.zip are:

test
logseq.order-list-type:: number

hello world
logseq.order-list-type:: number

 + hi
logseq.order-list-type:: number

 + hey
logseq.order-list-type:: number

   + yes
logseq.order-list-type:: number

   + no
logseq.order-list-type:: number

 + goodbye
logseq.order-list-type:: number

bye
logseq.order-list-type:: number

hello

not bad
logseq.order-list-type:: number

good
logseq.order-list-type:: number

👆 The list numberings are missing and logseq.order-list-type:: number are added to the contents.

What I Do?

I wrote some codes to remove logseq.order-list-type:: number and keep the list numberings.👇

  • The actual contents in the .md file which is in the publicExport.zip are:
    1. test
    
    
    1. hello world
    
    
        1. hi
    
    
        1. hey
    
    
            1. yes
    
    
            1. no
    
    
        1. goodbye
    
    
    1. bye
    
    
    hello
    
    1. not bad
    
    
    1. good
    
  • Then we can see this in Hugo:
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant