-
Notifications
You must be signed in to change notification settings - Fork 16
MDX Source File Format
bugnofree edited this page Jun 5, 2021
·
1 revision
The basic idea is that we follow most the rules mentioned in the Traditional
section, but with some extensions.
Each item of mdx source file consists of three parts which are showed below
keyword
body
</>
The first part is the keyword, which is the keyword in the word search; the second part is the body, which is the specific html; The third part is the terminator </>;
For example
Whole
<font size=5>whole</font>
<br/>
<font face="Kingsoft Phonetic Plain, Tahoma">(hol,hJl; houl)</font>
</font>
</>
mdx can link to other records or resources in the body
-
linking to other records
You can use href to link to other record
<a href="entry://keyword#section">key</a>
If the content of the two keywords is identical, you can use the following syntax
@@@LINK=keyword
For example
color @@@LINK=color </>
-
link to image
There are two ways to do this
<img src="file://abc.gif"> <img src="/abc.gif">
-
linking to sound
Use
sound://
to mark a link to an audio, only.wav
and.spx
formats are supported, for examexample<a href="sound://keyword.spx">keyword</a>