flutter_markdown를 확장하여 마크다운 텍스트 내에서 LaTeX 식을 렌더링하는 기능을 지원하는 Flutter 패키지입니다. 수학적 표기법과 공식을 풍부한 텍스트 콘텐츠에 원활하게 통합할 수 있어 교육 앱, 문서화 또는 기술 블로그에 이상적입니다. 기존의 Flutter 마크다운 렌더링을 활용하면서 호환 가능한 백엔드를 통해 LaTeX 파싱 및 표시 기능을 추가합니다. 모바일, 웹, 데스크톱 등 모든 주요 플랫폼에서 작동합니다.
사용 사례
앱 문서에서 수학 방정식 렌더링
수학 콘텐츠를 포함한 교육용 앱 만들기
마크다운 기반 문서에서 과학 공식 표시하기
Flutter 기반 블로그에 LaTeX 통합하기
복잡한 표기법을 사용한 기술적 글쓰기 지원
주요 기능
LaTeX 지원을 추가한 flutter_markdown 확장
크로스 플랫폼 호환성
pub add를 통한 간단한 통합
인라인 및 블록 LaTeX 지원
표준 LaTeX 문법 사용
적합한 대상
교육 앱 개발자
Markdown를 사용하는 기술 문서 작가
STEM 콘텐츠 창작자
수학 렌더링이 필요한 Flutter 앱
문서 중심 프로젝트
고려 사항
LaTeX 렌더링을 위해 추가 종속성이 필요합니다
복잡한 수식에 따라 성능이 달라질 수 있습니다
지원되는 LaTeX 하위 집합에 제한됨
렌더링된 수식에 맞춤 스타일링이 필요할 수 있습니다
실시간 편집에 적합하지 않습니다
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
Flutter Markdown Latex
This extension is created to enhance the functionality of the flutter_markdown package by adding support for rendering LaTeX in markdown. The rendering of LaTeX is achieved through the utilization of the flutter_math_fork package.
Rendering Samples
This is inline latex: $f(x) = \sum_{i=0}^{n} \frac{a_i}{1+x}$
This is block level latex:
$$
c = \pm\sqrt{a^2 + b^2}
$$
This is inline latex with displayMode: $$f(x) = \sum_{i=0}^{n} \frac{a_i}{1+x}$$
The relationship between the height and the side length of an equilateral triangle is:
\[ \text{Height} = \frac{\sqrt{3}}{2} \times \text{Side Length} \]
\[ \text{X} = \frac{1}{2} \times \text{Y} \times \text{Z} = \frac{1}{2} \times 9 \times \frac{\sqrt{3}}{2} \times 9 = \frac{81\sqrt{3}}{4} \]
The basic form of the Taylor series is:
\[f(x) = f(a) + f'(a)(x-a) + \frac{f''(a)}{2!}(x-a)^2 + \frac{f'''(a)}{3!}(x-a)^3 + \cdots\]
where \(f(x)\) is the function to be expanded, \(a\) is the expansion point, \(f'(a)\), \(f''(a)\), \(f'''(a)\), etc., are the first, second, third, and so on derivatives of the function at point \(a\), and \(n!\) denotes the factorial of \(n\).
In particular, when \(a=0\), this expansion is called the Maclaurin series.
Getting Started
Add dependency
Add flutter_markdown_latex to your pubspec.yaml dependencies.