Skip to content

작성 글내에서의 KaTeX macro 유지 #58

@Ailrun

Description

@Ailrun

현재 작성글 하나 내에서 KaTeX macro가 유지되지 않고, 매 KaTeX 표현식마다 정의를 반복해야하는 불편함이 있습니다.

KaTeX의 macros option에 한 작성글 내에서 유지될 수 있는 object를 넣어주면 되는데, markdown-it-texmath의 경우 macros 객체를 넘겨주면 하나의 객체를 계속 사용하는 것으로 보여 매 render call마다 plugin을 재설정해야 안전할 것으로 보입니다.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions