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

支持 kramdown 块级内联属性列表 #89

Closed
88250 opened this issue Sep 12, 2020 · 5 comments
Closed

支持 kramdown 块级内联属性列表 #89

88250 opened this issue Sep 12, 2020 · 5 comments
Assignees

Comments

@88250
Copy link
Owner

88250 commented Sep 12, 2020

https://kramdown.gettalong.org/syntax.html#inline-attribute-lists

http://trykramdown.herokuapp.com

@88250 88250 self-assigned this Sep 12, 2020
@jakekwak
Copy link

jakekwak commented Sep 12, 2020

Thank you.
I think Vditor will be No. 1 WYSIWYG Editor.

@88250 88250 changed the title 支持 kramdown 行级属性列表 支持 kramdown 内联属性列表 Sep 13, 2020
@88250
Copy link
Owner Author

88250 commented Sep 14, 2020

Thank you.
I think Vditor will be No. 1 WYSIWYG Editor.

This is just an experimental feature in Lute.

@jakekwak
Copy link

Is it applied only to bold(**), italic(*), strikeout(~~), and inline code(`)?

How do I make the below using kramdown?

<p style="text-align: center;">
  <span style="font-size: 36px; font-family: Tahoma, Geneva, sans-serif;">font_size</span>
  <span style="color: rgb(44, 130, 201);">text_color</span>
  <span style="background-color: rgb(247, 218, 100); color: rgb(85, 57, 130);">background_color</span>
</p>

My idea is just like

[font_size]{:style="font-size: 36px; font-family: Tahoma, Geneva, sans-serif;"} [text_color]{:style="color: rgb(44, 130, 201);"} [background_color]{:style="background-color: rgb(247, 218, 100); color: rgb(85, 57, 130);"}{:style="text-align: center;"}

or

little md text version using css file.

[font_size]{:#font_size#font_family} [text_color]{:.text_blue} [background_color]{:.back_yellow.text_blue}{:.align_center}

@88250
Copy link
Owner Author

88250 commented Sep 14, 2020

Is it applied only to bold(**), italic(*), strikeout(~~), and inline code(`)?

Yes.

@88250 88250 changed the title 支持 kramdown 内联属性列表 支持 kramdown 块级内联属性列表 Sep 14, 2020
@88250
Copy link
Owner Author

88250 commented Sep 14, 2020

行级属性列表后面需要用到再支持了。

#118

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

2 participants