(创建页面,内容为“此页面展示了 Oasis Wiki 的部分文本样式。 <markdown> # H1 ## H2 ### H3 #### H4 ##### H5 ###### H6 `code` ```javascript console.log('hello'); ``` **粗体**,*斜体*,[链接](#),~~删除线~~,正文~下标~,正文^上标^ </markdown> <u>下划线</u>”) |
小 (已保护“文本样式示例”([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期))) |
||
(未显示1个用户的2个中间版本) | |||
第12行: | 第12行: | ||
```javascript | ```javascript | ||
console.log(' | function $initHighlight(block, cls) { | ||
try { | |||
if (cls.search(/\bno\-highlight\b/) != -1) | |||
return process(block, true, 0x0F) + | |||
` class="${cls}"`; | |||
} catch (e) { | |||
/* handle exception */ | |||
} | |||
for (var i = 0 / 2; i < classes.length; i++) { | |||
if (checkCondition(classes[i]) === undefined) | |||
console.log('undefined'); | |||
} | |||
return ( | |||
<div> | |||
<web-component>{block}</web-component> | |||
</div> | |||
) | |||
} | |||
export $initHighlight; | |||
``` | ``` | ||
$example$ | |||
**粗体**,*斜体*,[链接](#),~~删除线~~,正文~下标~,正文^上标^ | **粗体**,*斜体*,[链接](#),~~删除线~~,正文~下标~,正文^上标^ | ||
第20行: | 第42行: | ||
<u>下划线</u> | <u>下划线</u> | ||
块级公式(display=block): | |||
<math display="block">\textbf{256}\text{(a). Solve the derivative of }f(x)=x^{x^{x}x}x.</math> | |||
行内公式(display=inline):<math>\text{Here we're given a sum} \sum_{i=0}^{114514}x_i^2 \text{ which is ...}</math> |
2022年11月29日 (二) 23:52的最新版本
此页面展示了 Oasis Wiki 的部分文本样式。
H1
H2
H3
H4
H5
H6
code
function $initHighlight(block, cls) {
try {
if (cls.search(/\bno\-highlight\b/) != -1)
return process(block, true, 0x0F) +
` class="${cls}"`;
} catch (e) {
/* handle exception */
}
for (var i = 0 / 2; i < classes.length; i++) {
if (checkCondition(classes[i]) === undefined)
console.log('undefined');
}
return (
<div>
<web-component>{block}</web-component>
</div>
)
}
export $initHighlight;
$example$
粗体,斜体,链接,删除线,正文下标,正文上标
下划线
块级公式(display=block):
行内公式(display=inline):