mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-04 05:44:50 +00:00
[PR #311] [MERGED] Add Bracketing around Math Expressions for improved MathLib Rendering #934
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/xoofx/markdig/pull/311
Author: @RickStrahl
Created: 2/22/2019
Status: ✅ Merged
Merged: 2/25/2019
Merged by: @xoofx
Base:
master← Head:MathExtension_Bracketing📝 Commits (3)
987580eAdd inline block and block display bracketing tags around rendered mathematics content so it can render9965597Fix tests to match bracketing.8eb52c5Update Math Specs and ensure tests pass.📊 Changes
5 files changed (+309 additions, -235 deletions)
View changed files
📝
src/Markdig.Tests/Specs/MathSpecs.cs(+30 -28)📝
src/Markdig.Tests/Specs/MathSpecs.md(+16 -14)📝
src/Markdig.Tests/TestParser.cs(+258 -190)📝
src/Markdig/Extensions/Mathematics/HtmlMathBlockRenderer.cs(+3 -1)📝
src/Markdig/Extensions/Mathematics/HtmlMathInlineRenderer.cs(+2 -2)📄 Description
Added bracketing to math expressions for better rendering support without fixups in various math libraries.
\(and\)for inline expressions\[and\]for block expressionsReferences Issue #307
For reference with other parsers (primarily PanDoc):
BabelMark Specs
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.