如何通过语言更改Markdown文件的标题? [英] How to change the title of the Markdown file by language?

查看:100
本文介绍了如何通过语言更改Markdown文件的标题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Doxygen的新手.正如我在标题中提到的,我想根据输出语言更改在Markdown文件中给出的标题名称.例如,我可以给这样一个静态标题:

I'm new to using Doxygen. As I mentioned in the title, I want to change the name of the title I gave in the Markdown file according to the output language. For example, I can give a static title like this:

@page AIPage AIHeader

通过这种方式,我可以使用选择的输出语言向页面添加一些内容:

In this way, I can add something to the page in the output language I choose:

\~english Hello
\~turkish Merhaba

不幸的是,当我在标题中使用相同的用法时,我无法获得任何结果:

Unfortunately, when I use the same usage in the title, I cannot get any results:

@page AIPage \~english Hello|\~turkish Merhaba

我该如何解决这个问题?

How can I solve this problem?

感谢您的所有支持.

注意:我使用的是1.8.17版

Note: I'm using version 1.8.17

推荐答案

以下结构如何?

\~turkish
@page pg1 Merhaba
\~english
@page pg1 hello

这篇关于如何通过语言更改Markdown文件的标题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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