Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: convert numbered-list bullets #45

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Tuscan-blue
Copy link

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