sawhney17 / logseq-schrodinger

A plugin to export pages in Logseq to Hugo.
MIT License
311 stars 37 forks source link

feat: convert numbered-list bullets #45

Open Tuscan-blue opened 7 months ago

Tuscan-blue commented 7 months ago

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.👇