getgridea / gridea

✍️ A static blog writing client (一个静态博客写作客户端)
https://open.gridea.dev
MIT License
9.95k stars 795 forks source link

在新标签打开网页链接 #1113

Open Titlecan opened 1 year ago

Titlecan commented 1 year ago

添加一个按钮,打开后 文章会在新标签打开网页链接。

动机: 我国用户浏览网页的习惯应该是开多个网页换着观看的,比如我的博客是写的教程,默认情况下读者打开链接后我的博客链接就不见了,这对用户很不友好。

huixpp commented 1 year ago

拖动MarkDown链接至页面栏

Titlecan commented 1 year ago

拖动MarkDown链接至页面栏

你好,我会这样做的,但用户不一定会...

huixpp commented 1 year ago

Gridea同步以后 他会把md文件中的跳转改为html的跳转 在生成的post/文章/index.html中 把跳转的html改成新标签页跳转 https://huixxxxx.gitee.io/imgs/%E5%9B%9E%E5%A4%8D/%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE%202023-04-03%20212620.png

Titlecan commented 1 year ago

Gridea同步以后 他会把md文件中的跳转改为html的跳转 在生成的post/文章/index.html中 把跳转的html改成新标签页跳转 https://huixxxxx.gitee.io/imgs/%E5%9B%9E%E5%A4%8D/%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE%202023-04-03%20212620.png

谢谢你,我明白了,但还要手动添加,麻烦(懒)