simiki

回车不换行怎么设置

Markdown

Katex

Remember to leave some spaces between _, otherwise it will be interpreted as <em> in HTML.

$$R_i = \rho^{out} _ {i} - \rho^{out} _ {in}$$

$$R_i = \rho^{out} _ {i} - \rho^{out} _ {in}$$

$$ x = \begin{cases} a &\text{if } b \\ c &\text{if } d \end{cases} $$

Extensions

Simiki is using Markdown==2.6.8.

Default extensions in simiki are - fenced_code - nl2br - toc - extra

change the markdown extensions

simiki/generators.py#L245

    def _set_markdown_extensions(self):
        """Set the extensions for markdown parser"""
        # Default enabled extensions
        markdown_extensions_config = {
            "fenced_code": {},
            "nl2br": {},
            "toc": {"title": "Table of Contents"},
            "extra": {},
        }

admonition

This is a simiki-markdown specific feature via markdown.extensions.admonition. This feature cannot be previewed by the default vscode-markdown.

!!! alert-success "": conclusions form the paper (proved by the results)

!!! alert-info "": some statements (citing other papers, or some general statements)

!!! alert-warning "": confusing parts to me

!!! alert-primary "": possible future directions

markdown 3.3.7

graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;

test diagram

graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;

Another test

<pre class="mermaid">
graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;
</pre>