gpt4 book ai didi

git - 将书签存储在 Markdown 文件中,如何对标签进行编码?

转载 作者:行者123 更新时间:2023-12-05 04:13:43 26 4
gpt4 key购买 nike

我是书签的长期用户,我想使用一个可以在 git 中存档和 merge 的基于简单文本的系统来重新开始。我开始将书签存储在 Markdown 格式的文件中。我有一个名为 bookmark.md 的文件,其中包含标题和链接,例如:

# Q & A sites
[Stackoverflow](http://stackoverflow.com)

然后我将文件转换为html

pandoc -s bookmark.md -o bookmark.md.html

我看过this simple system将所有书签存储在一个 html 文件中,并将标签存储在 <id title=""> 中标签。例如标签 photographystackexchange将存储在:

<li title="photography, stackexchange">

以 Markdown 格式对此类标签进行编码的最佳方法是什么?

最佳答案

即使是普通的 markdown 也能让你得到 optional title tag

随便写

# Q & A sites
[Stackoverflow](http://stackoverflow.com "photography, stackexchange")

你会得到一个带有标题的链接。

顺便说一句:title 标签可能不是标签的“正确”html 标签,但它会起作用。

关于git - 将书签存储在 Markdown 文件中,如何对标签进行编码?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37029062/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com