微信公众号如何输入标准的参考文献格式

起由

想要在微信公众号输出一些算法的文档,但是在写参考文献时,总是无法很好的排版。
自己写的文章一般都是markdown格式,但是想要的参考文献格式如下
在这里插入图片描述
而标准的markdown 格式并不支持,

解决办法

通过下面在线网站,可以将markdown 转换为公众号的格式

https://markdown.com.cn/editor/

在这里插入图片描述
通过左右对比发现致谢之后就没有内容了,那如果要添加自己的参考文献如何操作呢

  1. 通过复制到公众号,会得到一串源代码
    在这里插入图片描述
  2. 粘贴到记事本如下
    在这里插入图片描述
  3. 找到参考资料的部分

<section class="footnotes" data-tool="markdown.com.cn编辑器">
<span id="fn1" class="footnote-item" style="display: flex;"><span class="footnote-num" style="display: inline; width: 10%; background: none; font-size: 80%; opacity: 0.6; line-height: 26px; font-family: ptima-Regular, Optima, PingFangSC-light, PingFangTC-light, 'PingFang SC', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;">[1] </span><p style="padding-top: 8px; padding-bottom: 8px; display: inline; font-size: 14px; width: 90%; padding: 0px; margin: 0; line-height: 26px; color: black; word-break: break-all; width: calc(100%-50);">Front-end web development: <em style="font-style: italic; color: black;">https://en.wikipedia.org/wiki/Front-end_web_development</em></p>
</span>
<span id="fn2" class="footnote-item" style="display: flex;"><span class="footnote-num" style="display: inline; width: 10%; background: none; font-size: 80%; opacity: 0.6; line-height: 26px; font-family: ptima-Regular, Optima, PingFangSC-light, PingFangTC-light, 'PingFang SC', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;">[2] </span><p style="padding-top: 8px; padding-bottom: 8px; display: inline; font-size: 14px; width: 90%; padding: 0px; margin: 0; line-height: 26px; color: black; word-break: break-all; width: calc(100%-50);">什么是全栈工程师: <em style="font-style: italic; color: black;">是指掌握多种技能,并能利用多种技能独立完成产品的人。</em></p>
</span>
<span id="fn3" class="footnote-item" style="display: flex;"><span class="footnote-num" style="display: inline; width: 10%; background: none; font-size: 80%; opacity: 0.6; line-height: 26px; font-family: ptima-Regular, Optima, PingFangSC-light, PingFangTC-light, 'PingFang SC', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;">[3] </span><p style="padding-top: 8px; padding-bottom: 8px; display: inline; font-size: 14px; width: 90%; padding: 0px; margin: 0; line-height: 26px; color: black; word-break: break-all; width: calc(100%-50);">灵感来源: <em style="font-style: italic; color: black;">https://github.com/lyricat/wechat-format</em></p>
</span>
<span id="fn4" class="footnote-item" style="display: flex;"><span class="footnote-num" style="display: inline; width: 10%; background: none; font-size: 80%; opacity: 0.6; line-height: 26px; font-family: ptima-Regular, Optima, PingFangSC-light, PingFangTC-light, 'PingFang SC', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;">[4] </span><p style="padding-top: 8px; padding-bottom: 8px; display: inline; font-size: 14px; width: 90%; padding: 0px; margin: 0; line-height: 26px; color: black; word-break: break-all; width: calc(100%-50);">MdA2All: <em style="font-style: italic; color: black;">http://md.aclickall.com/</em></p>
</span>
</section>
  1. 将内容修改为自己的参考文献,再帖会在线浏览器的末尾就可以了,如下图所示
    在这里插入图片描述
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值