이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

KaTeX

설명

The KaTeX WordPress plugin enables you to use the fastest TeX math typesetting engine on your WordPress website. You can include TeX inside a [katex]...[/katex] shortcode or in a Gutenberg block. Either way the math will render beautifully on your website. When using Gutenberg blocks, the equations will render immediately inside your editor!

Equations in blocks or using the [katex display=true]...[/katex] shortcode will render on page in display mode–with bigger symbols–centered on their own line.

For compatability with other LaTeX plugins, this plugin optionally supports [latex]...[/latex] shortcodes.

You can choose to serve KaTeX yourself or through the third-party jsDelivr CDN.

Plugin Website

스크린샷

  • Preview your TeX right inside the editor.
  • TeX is rendered inside your visitors' browsers.

블록

이 플러그인은 1(을)를 제공합니다.

  • KaTeX

설치

  1. Upload the katex folder to your /wp-content/plugins/ directory or automatically download and install the plugin through WordPress’s plugin manager;
  2. Activate the plugin in WordPress; and
  3. Use the [latex] shortcode or KaTeX Gutenberg blocks in your posts and pages.

FAQ

Can I move from LaTeX plugin X to this plugin?

You should be able to replace any other LaTeX plugin using [latex] shortcodes without having to make changes to existing posts. Other plugins might handle display-mode latex other than [latex display=true]...[/latex], in which case old posts unfortunately have to be changed.

후기

2024년 3월 9일
This plugin is so useful for my blog.
2022년 9월 12일
This is a great plugin for everyone who wants to use the power of LaTeX or KaTeX to display properly typeset math on their site. My favourite aspect of this plugin is how the Ka block displays a preview of the formatted text. While you can insert KaTeX statements using the shortcode block, if you do that, then the equations will be left justified, and there is little to do about it. Using the KaTeX block, the calculations will be properly centred between the margins set by your theme. Great job by the developer! I hope that the plugin will continue to be maintained so that we don't lose compatibility with the latest versions of WordPress, as there are very few options otherwise.
2021년 9월 26일 1 reply
Veny nice plugin. Able to use very easily and without any issues. A cakewalk if you know latex syntax. Rendering is very fast too. There is lot of accounting related math content on my site (eduxir.com) which requires to use math equations. Was able to achieve very easily. One request to the author is that the font and related files are downloaded even on the pages that do not use katex. We need to modify the plugin to disable this option. If a configuration option that could be provided which would retain the configuration even after updating the file, would be of great help.
모든 15 평가 읽기

기여자 & 개발자

“KaTeX”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“KaTeX”(이)가 7(으)로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “KaTeX”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

2.2.3

  • More robustly render shortcodes (even more robustly than 2.2.2).

2.2.2

  • More robustly render shortcodes.
  • Fix undefined variable notice.

2.2.1

  • Trigger rendering of KaTeX in more cases when the DOM is mutated (in 2.2.0, accidentally only a limited set of cases was checked).

2.2.0

  • Trigger rendering of KaTeX when the DOM is mutated by inserting a .katex-eq node. This allows rendering KaTeX markup that is not present when the page is loaded.
  • Upgrade KaTeX resources to v0.13.13.

2.1.2

  • Always load JavaScript and CSS assets by default. An option is introduced to switch to the old behavior of loading only when KaTeX is used on the page.
  • Make it easier for other code to manually trigger rendering of KaTeX.
  • Upgrade KaTeX resources to v0.13.0.

2.1.1

  • Remove <br> tags added by WordPress to shortcode output.

2.1.0

  • Prevent WordPress from texturizing KaTeX (prior to this change, WordPress would sometimes change e.g. apostrophes to quotation marks).
  • Fix issue where custom class names on the KaTeX block sometimes broke editor rendering.
  • Add some keywords to allow searching for the KaTeX block in the editor’s block list.
  • Update KaTeX resources to v0.12.0.

2.0.2

  • Fix block editor variable scoping.

2.0.1

  • Upgrade KaTeX resources to v0.11.1.

2.0.0

  • Support adding CSS classes to KaTeX Gutenberg Blocks to help with styling. Backwards compatibility note: KaTeX Gutenberg Blocks are now rendered wrapped in a div element on which classes wp-block-katex-display-block and katex-eq are set. You can add more classes to this div through WordPress’s post editor. Previously, KaTeX Gutenberg Blocks were rendered wrapped in an unclassed span. KaTeX shortcodes are still wrapped inside a span with only the class katex-eq set. If you depend on old behavior for styling, you might need to update your styling rules.

1.0.5

  • Fix 1.0.4 release issue: KaTeX resources were not committed correctly.

1.0.4

  • Upgrade KaTeX resources to v0.10.2.

1.0.3

  • Fix warnings related to plugin options that occurred on PHP 5.
  • Clean up the plugin’s options on plugin deletion.

1.0.2

  • Upgrade KaTeX resources to v0.10.1.

1.0.1

  • Fix issue where KaTeX resources would not be loaded on the admin pages.

1.0.0

  • Initial release.