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

分屏预览支持 list-style-type CSS #269

Closed
jakekwak opened this issue Apr 2, 2020 · 7 comments
Closed

分屏预览支持 list-style-type CSS #269

jakekwak opened this issue Apr 2, 2020 · 7 comments
Assignees
Milestone

Comments

@jakekwak
Copy link
Contributor

jakekwak commented Apr 2, 2020

We can change list-style-type using

    ul[data-marker="*"] ul ul {
      list-style-type: square;
    }

    ul[data-marker="*"] ul {
      list-style-type: circle;
    }

    ul[data-marker="*"] {
      list-style-type: disc;
    }
    
    ul[data-marker="+"] ul ul {
      list-style-type: disc;
    }

    ul[data-marker="+"] ul {
      list-style-type: square;
    }

    ul[data-marker="+"] {
      list-style-type: circle;
    }

    ul[data-marker="-"] ul ul {
      list-style-type: circle;
    }

    ul[data-marker="-"] ul {
      list-style-type: disc;
    }

    ul[data-marker="-"] {
      list-style-type: square;
    }

ir24

@88250 When you put the "data-marker="1)" at OL tag.

    ol[data-marker="1)"] ol ol {
      list-style-type: korean-hangul-formal;
    }

    ol[data-marker="1)"] ol {
      list-style-type: trad-chinese-informal;
    }

    ol[data-marker="1)"] {
      list-style-type: trad-chinese-formal;
    }

ir23

**Also need this attribute at preview mode.

@88250
Copy link
Collaborator

88250 commented Apr 3, 2020

I think the user can customize CSS for this feature, so we do not necessary to support it built-in.

@jakekwak
Copy link
Contributor Author

jakekwak commented Apr 3, 2020

@88250 Could you put the "data-marker="1)" or "data-marker="1."at OL tag.(also at preview)
It means the user can customize CSS. thanks.

@88250
Copy link
Collaborator

88250 commented Apr 3, 2020

image

Do you mean just in split-view mode?

@jakekwak
Copy link
Contributor Author

jakekwak commented Apr 3, 2020

Yes, if you can, but not li, only OL, UL

@88250
Copy link
Collaborator

88250 commented Apr 3, 2020

Thank you, I will add an option RenderListMarker in Lute to resolve it.

@88250 88250 self-assigned this Apr 3, 2020
@88250 88250 changed the title [suggestion]using list-style-type CSS 分屏预览支持 list-style-type CSS Apr 3, 2020
@88250 88250 added this to the 3.0.0 milestone Apr 3, 2020
@88250
Copy link
Collaborator

88250 commented Apr 4, 2020

88250/lute@61b190a

We will include this feature in the next release.

@88250
Copy link
Collaborator

88250 commented Jun 17, 2020

该特性在 #494 中有变更,请知悉。

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

No branches or pull requests

3 participants