Sebastian Göls
b7ae04bdba
Make alert block headers case-invariant
2024-03-18 09:04:47 +01:00
Alexandre Mutel
391f376fa2
Merge pull request #782 from Abrynos/bootstrap-alerts
...
Add bootstrap alert renderer
2024-03-18 08:11:19 +01:00
Sebastian Göls
f9e96bc9c9
Apply feedback
2024-03-18 07:48:22 +01:00
Alexandre Mutel
c75a11ec32
Update parsing-extensions.md
2024-03-17 15:01:14 +01:00
Alexandre Mutel
fd226d53e9
Update readme.md
2024-03-17 14:59:05 +01:00
Sebastian Göls
7132584996
Add bootstrap alert renderer
2024-03-15 11:28:48 +01:00
Alexandre Mutel
f48331d6c7
Fix missing code in commit for #780
0.36.2
2024-03-14 18:34:44 +01:00
Alexandre Mutel
6549d3b726
Fixes #780 where only the first paragraph of an alert block is processed.
0.36.1
2024-03-14 18:31:11 +01:00
Alexandre Mutel
d434f00355
Merge pull request #779 from toothache/fix_math_span
...
Fix math source span
0.36.0
2024-03-14 08:14:58 +01:00
Alexandre Mutel
b62a12d32d
Add support for GitHub alert blocks ( #776 )
...
* Add support for GitHub alert blocks
* Fix alert for "must come first in a quote block"
* Fix comment
* Update src/Markdig/Extensions/Alerts/AlertBlockRenderer.cs
Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com >
* Update src/Markdig/MarkdownExtensions.cs
Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com >
* Fix parsing of alert block with multiple children blocks
* Allow null for BlockParser ctor argument of QuoteBlock
---------
Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com >
2024-03-14 08:09:42 +01:00
teethache
3c7edaa82d
Fix math source span.
2024-03-11 20:35:54 +08:00
Alexandre Mutel
fcb56fb037
Merge pull request #773 from hhyyrylainen/patch-1
...
Fixed a typo in MathSpecs.md
2024-02-29 08:21:10 +01:00
Henri Hyyryläinen
50bc6cadfc
Fix typo in MathSpecs.md
2024-02-18 18:58:04 +02:00
Alexandre Mutel
201aa4ef73
Try to use the reusable workflow
2024-02-17 07:11:33 +01:00
Alexandre Mutel
adce9797d6
Use ubuntu for the CI
0.35.0
2024-02-17 06:49:39 +01:00
Alexandre Mutel
fb71dff0ec
Fix tests
2024-02-17 06:48:47 +01:00
Alexandre Mutel
399570941a
Remove net7.0 from CI
2024-02-17 06:47:31 +01:00
Alexandre Mutel
2f903697e2
Update projects to net8.0
2024-02-17 06:43:07 +01:00
Alexandre Mutel
eb8fe15679
Update ci.yml with nuget config
2024-02-13 09:29:26 +01:00
Alexandre Mutel
8f008e45ca
Add nuget.org only config
2024-02-13 09:29:26 +01:00
Alexandre Mutel
0014ec4138
Merge pull request #769 from carbon/cq3
...
Eliminate various string allocations
2024-02-13 08:25:40 +01:00
Jason Nelson
2ca05ccad7
Eliminate string allocation in CodeInlineRenderer
2024-02-09 13:13:31 -08:00
Jason Nelson
6a15c804bc
Add test coverage for headlines with > 6 # characters
2024-02-09 12:54:52 -08:00
Jason Nelson
0446959623
Add TextRendererBase.Write(char c, int count) method, and eliminate various string allocations
2024-02-09 12:54:30 -08:00
Alexandre Mutel
e6afddbaa0
Merge pull request #761 from carbon/collection-expressions
...
Use C# 12 syntax
2023-12-18 21:11:50 +01:00
Jason Nelson
a377239e91
Use null-coalescing assignment operator
2023-12-14 20:08:53 -08:00
Jason Nelson
35aa304faf
Remove unused using statement
2023-12-14 19:56:08 -08:00
Jason Nelson
e4568979ec
Fix typo
2023-12-14 19:55:45 -08:00
Jason Nelson
3470ec0d54
Make various members readonly on SourceSpan
2023-12-14 19:55:37 -08:00
Jason Nelson
113ef7f215
Use primary constructors (part 2)
2023-12-14 19:50:09 -08:00
Jason Nelson
4cb4b68883
Use collection expressions (part 5)
2023-12-14 19:43:15 -08:00
Jason Nelson
64ae344b74
Use collection expressions (part 4)
2023-12-14 15:41:07 -08:00
Jason Nelson
b5f3c9fc67
Use collection expressions (part 3)
2023-12-14 12:57:11 -08:00
Jason Nelson
8a88fd0557
Use collection expressions (part 2)
2023-12-14 12:46:40 -08:00
Jason Nelson
cc7623989d
Fix typo on private method
2023-12-14 12:39:19 -08:00
Jason Nelson
b6a7acf5fc
Use primary constructors
2023-12-14 12:35:22 -08:00
Jason Nelson
804a6f0dbc
Use accelerated IndexOfAny in one more case
2023-12-14 12:32:52 -08:00
Jason Nelson
342e264988
Use collection expressions
2023-12-14 12:32:34 -08:00
Alexandre Mutel
f52ecee0b9
Update packages
0.34.0
2023-12-14 06:24:19 +01:00
Alexandre Mutel
a092ec23b3
Merge pull request #760 from zickb/fix_source_span_calculation_for_linebreak_inline
...
Fix source span calculation for LineBreakInline
2023-12-14 06:18:09 +01:00
Benni
6f1dce6306
Fix last LineBreakInline source span in multi block scenario
2023-12-14 02:53:02 +01:00
Alexandre Mutel
040a778d87
Merge pull request #759 from Akarinnnnn/fix-757
...
Make StringLineGroup returns a count limited Enumerator
2023-12-12 19:13:52 +01:00
Fa鸽
2ae2cf9263
Add tests for non-boxed enumerator of StringLineGroup.
2023-12-12 16:18:10 +08:00
Fa鸽
ba1e562d2f
Fix complication error of StringLineGroup.
2023-12-12 16:15:55 +08:00
Fa鸽
65a02e44ec
Add Enumerator GetEnumerator() for StringLineGroup
2023-12-12 15:45:30 +08:00
Alexandre Mutel
e78833ae30
Update src/Markdig/Helpers/StringLineGroup.cs
2023-12-12 08:00:54 +01:00
Fa鸽
2ab716bec1
Make StringLineGroup returns a count limited Enumerator
...
Fixes #757 , before we return the array enumerator directly, enumerate it will get phantom empty lines.
2023-12-11 19:57:51 +08:00
Alexandre Mutel
feeb1867ce
Merge pull request #753 from MihaZupan/perf-nov23-3
...
A few more perf improvements
2023-11-29 10:00:01 +01:00
Miha Zupan
f3aa7e73e3
Avoid Dictionary lookups in RendererBase.Write
2023-11-26 02:27:26 +01:00
Miha Zupan
dce5572356
Create inlining boundaries in MarkdownParser.Parse
2023-11-26 00:59:12 +01:00