相关疑难解决方法(0)

在没有冗余的情况下编写多个术语

我经常遇到这样的情况:我想将一个术语与词汇表联系起来,但是用复数表示这个术语.

所以通常你会做一些这样的单数:

Some text before the term :term:`important word` then the stuff after the term
Run Code Online (Sandbox Code Playgroud)

这被认为是一个完全不同的术语:

Some text before the term :term:`important words` then the stuff after the term
Run Code Online (Sandbox Code Playgroud)

这不会被解析:

Some text before the term :term:`important word`s then the stuff after the term
Run Code Online (Sandbox Code Playgroud)

这是非常多余的(但是我对现有知识的唯一选择):

Some text before the term :term:`important words<important word>` then the stuff after the term
Run Code Online (Sandbox Code Playgroud)

还有另一种方法可以用复数形式写一个术语,而不需要两次说明这个术语吗?

restructuredtext

6
推荐指数
1
解决办法
518
查看次数

标签 统计

restructuredtext ×1