如何将日期保持在Markdown文件中 [英] How to keep a date current in Markdown files

查看:962
本文介绍了如何将日期保持在Markdown文件中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在LICENSE.md文件中添加版权,但我不想每年1月1日返回以更新日期,有没有办法做:

I'd like to put a copyright in a LICENSE.md file, but I'd hate to go back on Jan 1st every year to update the date, is there a way to do:

Copyright [current year] Name?

推荐答案

香草 Markdown ,但那里有Markdown的多个版本.

There is no support for this in vanilla Markdown, but there are several versions of Markdown floating around out there.

如果您更新问题以指定Markdown处理程序,我们也许可以提供更具体的答案.

If you update your question to specify a Markdown processor we may be able to provide a more specific answer.

这篇关于如何将日期保持在Markdown文件中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆