Zuoqiu-Yingyi / siyuan-theme-dark-plus

思源笔记的一款多功能双模式主题 | A multifunctional dual-mode theme of SiYuan Note.
GNU Affero General Public License v3.0
139 stars 14 forks source link

How do I place attributes?:sparkles: #171

Closed taozina0587 closed 1 year ago

taozina0587 commented 1 year ago

在什么情况下你需要该特性?In what scenarios do you need this feature?

Hello. Sorry to ask a question here, but I don't know of another way. I'm a newbie with SiYuan and I live in Brazil. So I don't know your native language very well. How do I add these functions to a table? I use tables a lot for my studies. Thanks

image

描述可能的最优解决方案 Describe the optimal solution

thanks

描述候选的解决方案 Describe the candidate solution

No response

其他信息 Other information

No response

Zuoqiu-Yingyi commented 1 year ago

I'm sorry to tell you that these features can only be applied to the entire table, not to a certain cell.

This is because the minimum granularity of a style is a block, such as table block.

The table simply from writing-mode - CSS: Cascading Style Sheets | MDN just for showing what the style should look like when attribute writing-mode is set to a different value.

taozina0587 commented 1 year ago

Got it, buddy. But where, in SiYuan, do I add the attribute and value as you explain? I'm looking for it, but I can't find it in the program.

Here? What is "key"? image

Zuoqiu-Yingyi commented 1 year ago

Got it, buddy (巴迪) . But where, in SiYuan, do I add the attribute and value as you explain (解释) ? I'm looking for it, but I can't find it in the program. Here? What is "key"?

key: Custom attribute Name value: Custom attribute Value

You can also use Block Menu Enhancements function to use the context menu to set these custom attributes.