vnote icon indicating copy to clipboard operation
vnote copied to clipboard

表格内的复选框无法使用

Open donaldtone opened this issue 7 years ago • 5 comments

OS Version (操作系统): Windows 7 pro

VNote Version (VNote版本):2.2 (最新)

Symptoms (表现): 表格内的复选框无法使用。在表格单元格里面,放入

  • [ ]
    - [ ]
    - [ ] 无法显示为复选框。错误显示为三行的 - [ ] 。

How to Repro (如何复现): 在表格单元格里面,输入复选框markdown代码 |- [ ]
- [ ]
- [ ]| 无法显示为复选框。

donaldtone avatar Feb 04 '19 01:02 donaldtone

问题解决。 参考 https://stackoverflow.com/questions/47344571/how-to-draw-checkbox-or-tick-mark-in-github-markdown-table 使用html的li或ul

donaldtone avatar Feb 05 '19 04:02 donaldtone

@donaldtone 好奇你是怎么解决的 我用网页里的例子:

| Task           | Time required | Assigned to   | Current Status | Finished | 
|----------------|---------------|---------------|----------------|-----------|
| Calendar Cache | > 5 hours  | @georgehrke | in progress | - [x] ok?
| Object Cache   | > 5 hours  | @georgehrke | in progress | [x] item1<br/>[ ] item2
| Object Cache   | > 5 hours  | @georgehrke | in progress | <ul><li>- [x] item1</li><li>- [ ] item2</li></ul>
| Object Cache   | > 5 hours  | @georgehrke | in progress | <ul><li>[x] item1</li><li>[ ] item2</li></ul>


- [x] works
- [x] works too

网页的结果是: image 我的结果: image

kerhbal avatar Feb 05 '19 15:02 kerhbal

第一种办法(用于vnote): used &#9744; (☐) for [ ] and &#9745; (☑) for [x]

第二种办法: 用ul或li的办法,适用于Joplin。 如图。不能不说Joplin的checkbox好用多了,在阅读模式都可以”选择“或”不选“。 checkbox

donaldtone avatar Feb 06 '19 01:02 donaldtone

已经在github上答复。


From: kerhbal [email protected] Sent: February 5, 2019 10:27 AM To: tamlok/vnote Cc: donaldtone; Mention Subject: Re: [tamlok/vnote] 表格内的复选框无法使用 (#615)

@donaldtonehttps://github.com/donaldtone 好奇你是怎么解决的 我用网页里的例子:

| Task | Time required | Assigned to | Current Status | Finished |

|----------------|---------------|---------------|----------------|-----------|

| Calendar Cache | > 5 hours | @georgehrke | in progress | - [x] ok?

| Object Cache | > 5 hours | @georgehrke | in progress | [x] item1
[ ] item2

| Object Cache | > 5 hours | @georgehrke | in progress |

  • - [x] item1
  • - [ ] item2

| Object Cache | > 5 hours | @georgehrke | in progress |

  • [x] item1
  • [ ] item2
  • [x] works

  • [x] works too

网页的结果是: [image]https://user-images.githubusercontent.com/11629684/52283049-c792d000-292f-11e9-957a-5ad50648945b.png 我的结果: [image]https://user-images.githubusercontent.com/11629684/52283131-eee99d00-292f-11e9-9789-80c1074effc2.png

― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/tamlok/vnote/issues/615#issuecomment-460679662, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AV9ICAK27wRe47bEJl3vo4Z3OMX_TTDxks5vKaLKgaJpZM4agbb2.

donaldtone avatar Feb 06 '19 01:02 donaldtone

@donaldtone 哦第一种在那个网页里看到了,谢谢

kerhbal avatar Feb 06 '19 01:02 kerhbal