Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge package:markdown #1208

Open
wants to merge 593 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
593 commits
Select commit Hold shift + click to select a range
2f6d8b3
Use pkg:build_version to keep the pkg version in sync
kevmoo Oct 8, 2018
8977583
Update GFM to 0.28.3.gfm.17 (dart-lang/markdown#235)
kevmoo Oct 9, 2018
afc714e
Enable pkg:pedantic lints (dart-lang/markdown#236)
kevmoo Oct 29, 2018
4939b52
dev dep: latest build_web_compilers (dart-lang/markdown#237)
kevmoo Dec 11, 2018
6c6786c
Remove deprecated lints, enable/fix all dartfmt --fix lints (dart-lan…
kevmoo Mar 25, 2019
473aeb1
Fix codeSyntax and BlockParser to respect encodeHtml flag (dart-lang/…
sldsrg Mar 26, 2019
0c1c09d
Fix links (dart-lang/markdown#241)
kevmoo Mar 26, 2019
d6a0742
Updated GitHub emojis: added 68 new ones
kevmoo Mar 26, 2019
9e34647
Updated naughty string list, generator, test
kevmoo Mar 26, 2019
6aef7dd
Fix output from tool/stats_lib
kevmoo Apr 5, 2019
5497de9
Render element attributes in the order they were defined
kevmoo Apr 5, 2019
06e6b7d
Correctly escape & in inline image titles
kevmoo Apr 5, 2019
4df8a85
Support the latest pkg:html
kevmoo Apr 9, 2019
69e5fe0
Escape HTML attribute for fenced code blocks, in the info string; 2.0…
srawlins Apr 16, 2019
6efba3f
Record total strict counts for common mark tests
kevmoo Apr 5, 2019
611f0da
tool/stats.dart --update-files updates all configs by default
kevmoo Apr 16, 2019
16c7075
Generate and test common_mark tests using unit files
kevmoo Apr 5, 2019
ccfc9fd
Update common_mark tests to 0.29 - 2019-04-06
kevmoo Apr 16, 2019
7c7c83f
Update gfm tests to 0.29.0.gfm.0
kevmoo Apr 16, 2019
40c936b
Show strict % of total passing tests
kevmoo Apr 17, 2019
a91301e
Improve white-space strictness of a number of elements
kevmoo Apr 16, 2019
3924107
Make it easier to hack on strictness
kevmoo Apr 17, 2019
628552d
support the latest pkg:build_web_compilers (dart-lang/markdown#250)
kevmoo Apr 24, 2019
9bbf059
fix latest pedantic lints
kevmoo May 9, 2019
118a30c
Test on oldest supported Dart SDK
kevmoo May 9, 2019
67fa6fb
Fix urls to pub.dev (dart-lang/markdown#253)
kevmoo May 24, 2019
4b6dd87
Prepare for upcoming change to HttpRequest and HttpClientResponse (da…
tvolkert Jun 26, 2019
ccea703
Fix some html entities (dart-lang/markdown#256)
srawlins Jul 16, 2019
84bd374
Fix errant return (dart-lang/markdown#258)
srawlins Jul 23, 2019
f92be90
Fix parsing of inline code blocks with multiple backticks (dart-lang/…
srawlins Sep 13, 2019
29daaf3
Fix escaping in an indented code block (dart-lang/markdown#262)
srawlins Sep 23, 2019
ce6b5aa
Fix for preserving whitespace in text containing <pre> (dart-lang/mar…
keertip Sep 24, 2019
c326b8b
publish 2.1.1 (dart-lang/markdown#265)
keertip Sep 25, 2019
26c5bd0
Enforce more strict analysis (dart-lang/markdown#266)
srawlins Sep 27, 2019
41e6b2d
Recognize Unicode ellipsis as punctuation (dart-lang/markdown#270)
srawlins Oct 31, 2019
ced2e15
Reduce time to parse a large Markdown document by about half (dart-la…
srawlins Nov 15, 2019
6007ac2
Add startCharacter, reducing parsing time by another 17%; bump to 2.1…
srawlins Nov 15, 2019
00650cb
Conditionally escape HTML in links; fixes dart-lang/markdown#272
Nov 16, 2019
db8895d
Bump to 2.1.3 with link fix (dart-lang/markdown#278)
srawlins Nov 26, 2019
3ce9509
Fix newly enforced package:pedantic lints (dart-lang/markdown#279)
natebosch Dec 6, 2019
2689657
Properly normalize a collapsed reference link; fixes dart-lang/markdo…
srawlins Mar 9, 2020
b6fe7f6
Update old links to point to dart.dev and pub.dev (dart-lang/markdown…
kevmoo Mar 17, 2020
27f148b
Fix benchmark output
kevmoo Mar 17, 2020
e79649b
Bump version to 2.1.4 (dart-lang/markdown#290)
srawlins May 28, 2020
e934c45
Bump the Big List of Naughty Strings test (dart-lang/markdown#291)
srawlins May 28, 2020
9b2b444
Lint: bump pedantic and handle consequences (dart-lang/markdown#289)
srawlins Jun 1, 2020
1386f2b
Overhaul table row parsing (dart-lang/markdown#288)
srawlins Jun 1, 2020
6895917
Bump to 2.1.5 (dart-lang/markdown#292)
srawlins Jun 11, 2020
8d34667
Add remaining html5 'block level' tags (dart-lang/markdown#294)
alechenninger Jul 9, 2020
69015c2
Remove redundant LinkSyntax; remove erroneous comment (dart-lang/mark…
alechenninger Jul 14, 2020
86ec4fc
Small modifications for null-safety (dart-lang/markdown#296)
srawlins Jul 15, 2020
5e97604
Bump to 2.1.6 (dart-lang/markdown#297)
srawlins Jul 30, 2020
ba7dcdc
Add dependency on the meta package (dart-lang/markdown#298)
srawlins Jul 31, 2020
6700152
Fixed inaccuracies in Extension sets section (dart-lang/markdown#308)
mjordan56 Aug 14, 2020
7679f9e
Deprecate 4 public methods; will be made private (dart-lang/markdown#…
srawlins Aug 15, 2020
4b63cfe
Fixes for Issue 310 - Follow Dart file conventions (dart-lang/markdow…
mjordan56 Aug 16, 2020
b39e388
Remove 4 public methods from public API (dart-lang/markdown#312)
srawlins Aug 17, 2020
4073160
Make pre-define extension sets immutable (dart-lang/markdown#304)
mjordan56 Aug 17, 2020
cc088a7
Allow intra-word strikethrough in GFM (dart-lang/markdown#313)
srawlins Aug 18, 2020
3e81f8c
Prioritize custom inline syntax parsers (dart-lang/markdown#309)
mjordan56 Aug 18, 2020
0c04098
An empty list cannot interrupt a paragraph. (dart-lang/markdown#317)
srawlins Sep 9, 2020
8286ea7
Remove trailing space from paragraphs, headings, html blocks (dart-la…
srawlins Sep 12, 2020
6c630cc
Improve canEndBlock logic for ListSyntax subclasses (dart-lang/markdo…
srawlins Sep 12, 2020
89fe213
Release 3.0.0 (dart-lang/markdown#339)
srawlins Oct 12, 2020
7ae8a67
Overhaul link and emphasis resolution (dart-lang/markdown#345)
srawlins Dec 10, 2020
c9dbc1b
Remove dependency on expected_output; fold impl into tool/ (dart-lang…
srawlins Dec 14, 2020
83c0b8d
Null safe API (dart-lang/markdown#347)
srawlins Dec 15, 2020
68a5056
Fix leading whitespace after hard break (dart-lang/markdown#348)
srawlins Dec 15, 2020
54fe5df
Allow space in a pointy-bracked inline link (dart-lang/markdown#349)
srawlins Dec 17, 2020
9621602
Bump to 4.0.0-nullsafety.0 (dart-lang/markdown#352)
srawlins Jan 6, 2021
86d263a
Migrate to GitHub Actions (dart-lang/markdown#353)
athomas Feb 1, 2021
1dd4c13
prep for stable release (dart-lang/markdown#354)
jakemac53 Feb 8, 2021
d8465ee
stable null safety release (dart-lang/markdown#355)
jakemac53 Feb 11, 2021
036415b
Update pedantic to 1.11.0 (dart-lang/markdown#361)
srawlins Mar 5, 2021
6e62dd6
allow latest pkg:io, clean SDk constraint, update pubspec URL (dart-l…
kevmoo Mar 16, 2021
7ffd04b
Update LICENSE
franklinyow Apr 2, 2021
75f855a
Merge pull request dart-lang/markdown#366 from dart-lang/franklinyow-…
franklinyow Apr 2, 2021
25cf896
fix formatting
kevmoo Apr 12, 2021
896bfa9
Migrate from pedantic to lints (dart-lang/markdown#370)
srawlins May 24, 2021
cb3807f
Minor README cleanup (dart-lang/markdown#372)
parlough Jun 24, 2021
60c0db1
Update example and necessary dependencies (dart-lang/markdown#373)
parlough Jun 24, 2021
ac2c724
Export emojis.dart (dart-lang/markdown#377)
ValentinVignal Aug 19, 2021
9b9cc12
Move build configuration to peanut.yaml, make it easier to deploy exa…
kevmoo Sep 28, 2021
542beb1
Bump package to version 4.0.1 (dart-lang/markdown#378)
srawlins Sep 28, 2021
4e480fd
Update blns for text_direction_code_point_in_literal hint (dart-lang/…
kevmoo Nov 14, 2021
3a147da
Update Common Mark tests to v0.30.2 (dart-lang/markdown#383)
kevmoo Nov 16, 2021
2e840b9
Make EscapeSyntax respect encodeHtml (dart-lang/markdown#386)
TarekkMA Nov 24, 2021
5adac71
Make parseInline's parameter non-nullable (dart-lang/markdown#389)
srawlins Feb 17, 2022
0e852ef
Opt test/ and tool/ into null safety (dart-lang/markdown#392)
srawlins Feb 17, 2022
8f18b16
Render table with trailing whitespace (dart-lang/markdown#391)
srawlins Feb 17, 2022
6f20175
Improvements to documentation (dart-lang/markdown#397)
telenieko Mar 16, 2022
5a66ccc
Do not allow reference link labels contain left brackets (dart-lang/m…
chenzhiguang Mar 30, 2022
c310995
Change getChildren parameter of _resolveReferenceLink to required and…
chenzhiguang Mar 30, 2022
6af0190
Treat lines matched CodeBlockSyntx as continuations of paragraphs in …
chenzhiguang Mar 31, 2022
0e4d97b
Support GitLab flavored fenced blockquote (dart-lang/markdown#403)
chenzhiguang Apr 1, 2022
9c70c43
Add options to disable default syntaxes (dart-lang/markdown#404)
chenzhiguang Apr 1, 2022
2aadf9c
Update the ones related to Element.children (dart-lang/markdown#405)
chenzhiguang Apr 1, 2022
b25c692
Bump version to 5.0.0 (dart-lang/markdown#406)
srawlins Apr 1, 2022
8373c2f
Use `Uri.toFilePath()` instead of `Uri.path` for locating tests (dart…
telenieko Apr 3, 2022
df164a0
Check parser.isDone when title is null in _parseInlineBracketedLink (…
chenzhiguang Apr 4, 2022
0be965f
Add caseSensitive parameter on the InlineSyntax constructor (dart-lan…
chenzhiguang Apr 12, 2022
9dc6c1f
Create DelimiterSyntax to replace TagSyntax (dart-lang/markdown#407)
chenzhiguang Apr 14, 2022
68b22e2
Enable prefer_final_locals lint rule (dart-lang/markdown#415)
chenzhiguang Apr 16, 2022
dcbcf78
Enable prefer_interpolation_to_compose_strings (dart-lang/markdown#416)
chenzhiguang Apr 17, 2022
0cc64ba
Enable use_if_null_to_convert_nulls_to_bools lint rule (dart-lang/mar…
chenzhiguang Apr 17, 2022
3c5628d
Enable raw strings lint rules (dart-lang/markdown#418)
chenzhiguang Apr 17, 2022
ecade88
Add trailing commas to some parameter lists to get better formatting …
chenzhiguang Apr 19, 2022
431f49c
Split block_parser.dart and inline_parser.dart (dart-lang/markdown#422)
chenzhiguang Apr 27, 2022
76f084d
Remove dependency on third party package:charcode.
sortie Apr 26, 2022
3adf317
add pub badge
pq May 3, 2022
77f7560
Merge pull request dart-lang/markdown#425 from dart-lang/pq-patch-1
pq May 3, 2022
ab2c97e
example: add GitHub markdown CSS (dart-lang/markdown#434)
kevmoo May 20, 2022
cd35700
example: update CDN asset links (dart-lang/markdown#435)
kevmoo May 20, 2022
e382038
Change source of emojis to github api so GFM can support all possible…
timmaffett Jun 8, 2022
a832d94
Add support for github task lists (aka checkboxes) actually fixes da…
timmaffett Jun 9, 2022
a98b6ea
Require Dart 2.17, cleanup up lints (dart-lang/markdown#442)
kevmoo Aug 9, 2022
abd6615
Bump to 6.0.0 (dart-lang/markdown#443)
srawlins Aug 10, 2022
1851d34
Wrote some crashtest for running against markdown files from pub.dev
jonasfj Aug 24, 2022
61e801e
Fix crash with mixed checkbox lists (dart-lang/markdown#449)
srawlins Aug 30, 2022
d3e67c6
Rewrite checkbox(task list) extension (dart-lang/markdown#450)
chenzhiguang Aug 30, 2022
3ffdbbf
visitText to use textContent getter so subclassing Text class works c…
timmaffett Sep 2, 2022
b4ee030
example: small tweak to example – add Dart code (dart-lang/markdown#455)
kevmoo Sep 9, 2022
9727c18
lint cleanup (dart-lang/markdown#456)
kevmoo Sep 10, 2022
f76e697
Add deprecated accessors for indicatorForUncheckedCheckBox and indica…
timmaffett Sep 17, 2022
f922d72
Bump to 6.0.1 (dart-lang/markdown#462)
srawlins Sep 20, 2022
e1f6c2b
Refactor HTML block syntax (dart-lang/markdown#458)
chenzhiguang Sep 30, 2022
3f01059
Improve the match pattern of inline html (dart-lang/markdown#464)
chenzhiguang Oct 4, 2022
18d3420
Fix unicode case folding (dart-lang/markdown#465)
chenzhiguang Oct 6, 2022
4b8cf35
Use fewer empty lists; non-growable (dart-lang/markdown#463)
srawlins Oct 7, 2022
235196b
CI: update actions, add dependabot (dart-lang/markdown#469)
kevmoo Oct 14, 2022
802bf04
Misc package cleanup, mostly lints (dart-lang/markdown#468)
kevmoo Oct 14, 2022
1c451d0
Fix html entity and numeric character references (dart-lang/markdown#…
chenzhiguang Oct 25, 2022
27d7048
validate code coverage on CI (dart-lang/markdown#474)
kevmoo Oct 25, 2022
17d2d4c
Return list for link nodes creation (dart-lang/markdown#452)
lindeer Oct 25, 2022
ed01738
Make helper class private that should not have been exposed (dart-lan…
kevmoo Oct 25, 2022
6d1fc30
Optimise TableSyntax (dart-lang/markdown#472)
chenzhiguang Oct 29, 2022
09ed5ff
Refactor AutolinkExtensionSyntax (dart-lang/markdown#471)
chenzhiguang Oct 31, 2022
6e77f4b
Fix comments
jonasfj Nov 1, 2022
0c22505
Fix lints
jonasfj Nov 1, 2022
348b4ca
Fix lints
jonasfj Nov 1, 2022
4c4b7b8
Merge pull request dart-lang/markdown#446 from jonasfj/crashtest
jonasfj Nov 1, 2022
d7cd08f
create a workflow to smoke test package:flutter_markdown (dart-lang/m…
devoncarew Nov 4, 2022
815350e
Add SoftLineBreakSyntax (dart-lang/markdown#473)
chenzhiguang Nov 4, 2022
dab2335
Drop all deprecated APIs (dart-lang/markdown#475)
kevmoo Nov 8, 2022
31228ff
Improve FencedCodeBlockSyntax (dart-lang/markdown#478)
chenzhiguang Nov 8, 2022
1017208
Some performance improvement on delimiter syntaxes (dart-lang/markdow…
chenzhiguang Nov 9, 2022
4c5ea03
Improve BlockquoteSyntax (dart-lang/markdown#479)
chenzhiguang Nov 9, 2022
af5ed7c
Fix HTML escape issues (dart-lang/markdown#484)
chenzhiguang Nov 10, 2022
0ca9fa7
Refactor CodeSyntax (dart-lang/markdown#487)
chenzhiguang Nov 10, 2022
beac454
some cleanup (dart-lang/markdown#489)
chenzhiguang Nov 11, 2022
14748de
Refactor ATX headings (dart-lang/markdown#486)
chenzhiguang Nov 14, 2022
b6cbd0a
benchmark: use Stopwatch over DateTime for benchmarking (dart-lang/ma…
kevmoo Nov 15, 2022
d6f2e07
Refactor CodeBlockSyntax (dart-lang/markdown#488)
chenzhiguang Nov 15, 2022
7d3eeb0
Fix an ImageSyntax issue (dart-lang/markdown#493)
chenzhiguang Nov 16, 2022
16893b3
Optimise DelimiterSyntax (dart-lang/markdown#492)
chenzhiguang Nov 16, 2022
ccdf77f
Fix a blockquote issue (dart-lang/markdown#496)
chenzhiguang Nov 24, 2022
e629e43
introduce a Line class (dart-lang/markdown#494)
chenzhiguang Nov 29, 2022
e88ceb5
Do not escape single quote(apostrophe) inside code (dart-lang/markdow…
chenzhiguang Nov 29, 2022
f17dfbf
Refactor list syntax (dart-lang/markdown#499)
chenzhiguang Dec 15, 2022
318f24b
Bump actions/checkout from 3.0.2 to 3.2.0 (dart-lang/markdown#501)
dependabot[bot] Jan 1, 2023
9362ea0
Migrate from no-implicit-casts to strict-casts (dart-lang/markdown#504)
srawlins Jan 10, 2023
c7c671e
Rewrite SetextHeaderSyntax (dart-lang/markdown#500)
chenzhiguang Jan 13, 2023
f83e745
Add an `enableTagfilter` option to `HtmlRenderer` to eanble GFM `tagf…
chenzhiguang Jan 20, 2023
46ac888
Update GFM to 0.29.0.gfm.7 (dart-lang/markdown#507)
kevmoo Jan 24, 2023
788f3af
Rewrite link reference definitions (dart-lang/markdown#506)
chenzhiguang Jan 29, 2023
45ec42a
Add line endings before HTML blocks (dart-lang/markdown#508)
chenzhiguang Jan 31, 2023
24d17f9
Prepare to release v7.0.0 (dart-lang/markdown#509)
kevmoo Jan 31, 2023
9b84435
Bump actions/checkout from 3.2.0 to 3.3.0 (dart-lang/markdown#511)
dependabot[bot] Feb 1, 2023
c16b91d
Bump dart-lang/setup-dart from 1.3 to 1.4 (dart-lang/markdown#510)
dependabot[bot] Feb 1, 2023
e96fae0
Prepend a line ending if the p tag is removed and there is an element…
chenzhiguang Feb 1, 2023
a999841
CI: add publish and response workflows (dart-lang/markdown#517)
kevmoo Feb 15, 2023
50931cb
Label tests that only run on the VM: allows running tests with browse…
kevmoo Feb 15, 2023
ce05daf
Add line endings to HTML blocks (dart-lang/markdown#512)
chenzhiguang Feb 15, 2023
55e555a
Move to pkg:dart_flutter_team_lints (dart-lang/markdown#518)
kevmoo Feb 15, 2023
31a4e63
Remove lookarounds from autolink extension patterns (dart-lang/markdo…
chenzhiguang Feb 15, 2023
bd269df
Prepare to release v7.0.1 (dart-lang/markdown#520)
kevmoo Feb 15, 2023
b8d34b7
Do not generate heading IDs for headings with no content in `HeaderWi…
chenzhiguang Feb 16, 2023
9739ec0
Use latest lints, require Dart 2.19 or later (dart-lang/markdown#524)
kevmoo Feb 22, 2023
eface63
Prepare a release of 7.0.2 (dart-lang/markdown#526)
jonasfj Mar 30, 2023
a2db192
Footnote support (dart-lang/markdown#441)
lindeer Mar 31, 2023
ca6aeee
Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (dart-lang/markdown#527)
dependabot[bot] Apr 2, 2023
2544cfb
Bump subosito/flutter-action from 2.8.0 to 2.10.0 (dart-lang/markdown…
dependabot[bot] Apr 2, 2023
83eacf6
Bump actions/checkout from 3.3.0 to 3.5.0 (dart-lang/markdown#529)
dependabot[bot] Apr 3, 2023
93a8c43
Fix `linkReferenceDefinitionPattern` (dart-lang/markdown#532)
chenzhiguang Apr 19, 2023
6bca4df
Throw, if `BlockSyntax.parseLines` loops indefinitely (dart-lang/mark…
jonasfj Apr 20, 2023
5246497
Bump actions/checkout from 3.5.0 to 3.5.2 (dart-lang/markdown#536)
dependabot[bot] May 1, 2023
ba642cf
Prepare 7.1.0 (dart-lang/markdown#538)
jonasfj May 2, 2023
124b428
Fix delimiter row matching pattern for tables (dart-lang/markdown#540)
chenzhiguang May 17, 2023
36bd77b
blast_repo fixes (dart-lang/markdown#542)
devoncarew May 18, 2023
6135ee3
blast_repo fixes (dart-lang/markdown#544)
devoncarew May 22, 2023
a74b421
Table should be able to interrupt other blocks (dart-lang/markdown#545)
chenzhiguang May 22, 2023
8dface7
Fix HtmlBlockSyntax (dart-lang/markdown#548)
chenzhiguang Jun 27, 2023
7de6600
Bump actions/checkout from 3.5.2 to 3.5.3 (dart-lang/markdown#549)
dependabot[bot] Jul 1, 2023
65f093d
Bump to 7.1.1 (dart-lang/markdown#550)
srawlins Jul 13, 2023
59c58c9
Bump pkg:http (dev) dependency (dart-lang/markdown#551)
kevmoo Jul 17, 2023
9e856c2
Standardize CommonMark spec links to https and v0.30 (dart-lang/markd…
parlough Aug 26, 2023
8f3c134
Fix a few more lints, no longer ignore line length (dart-lang/markdow…
parlough Aug 30, 2023
b24e5a1
Bump actions/checkout from 3.5.3 to 3.6.0 (dart-lang/markdown#554)
dependabot[bot] Sep 1, 2023
da7560b
Bump actions/checkout from 3.6.0 to 4.1.0 (dart-lang/markdown#556)
dependabot[bot] Oct 1, 2023
61fa110
Bump dart-lang/setup-dart from 1.5.0 to 1.5.1 (dart-lang/markdown#557)
dependabot[bot] Oct 3, 2023
47d222e
Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (dart-lang/markdown#560)
dependabot[bot] Nov 1, 2023
c4bcb53
Bump subosito/flutter-action from 2.10.0 to 2.11.0 (dart-lang/markdow…
dependabot[bot] Nov 1, 2023
abdfe41
Bump actions/checkout from 4.1.0 to 4.1.1 (dart-lang/markdown#561)
dependabot[bot] Nov 1, 2023
b5d5ab0
Fix beginning of line detection in `AutolinkExtensionSyntax` (dart-la…
Mosc Nov 7, 2023
6c4a989
Fix formatting for latest Dart dev SDK (dart-lang/markdown#565)
kevmoo Nov 7, 2023
c438416
Update to latest lints, require Dart ^3.1 (dart-lang/markdown#568)
kevmoo Dec 1, 2023
6fb4d4a
Bump subosito/flutter-action from 2.11.0 to 2.12.0 (dart-lang/markdow…
dependabot[bot] Dec 1, 2023
4e92e57
✨ Introduce AlertBlockSyntax (dart-lang/markdown#570)
AlexV525 Dec 19, 2023
1936c19
Bump actions/stale from 8.0.0 to 9.0.0 (dart-lang/markdown#571)
dependabot[bot] Jan 1, 2024
9bb3601
Bump dev dependencies (dart-lang/markdown#573)
kevmoo Jan 15, 2024
5010475
Bump to 7.2.0 (dart-lang/markdown#574)
srawlins Jan 17, 2024
1cca5e7
address a termination issue with GitHub alert syntax parsing (dart-la…
devoncarew Jan 19, 2024
6450bbf
Bump dart-lang/setup-dart from 1.6.0 to 1.6.2 (dart-lang/markdown#580)
dependabot[bot] Feb 1, 2024
3cf910b
Migrate example to pkg:web, update minimum required Dart version (dar…
kevmoo Feb 14, 2024
523cade
Fix dart-lang/markdown#578: list with checkbox mixed with empty lines…
tomyeh Feb 20, 2024
abd1381
Fix dart-lang/markdown#586: encode image tag's src attribute (dart-la…
tomyeh Feb 26, 2024
d6a07ba
WIP: v0.31.2 spec updates (dart-lang/markdown#591)
kevmoo Feb 28, 2024
6ead60a
fix a crash when parsing alert block syntax (dart-lang/markdown#593)
devoncarew Mar 7, 2024
e6ea336
Add single tilde support to `StrikethroughSyntax` (dart-lang/markdown…
chenzhiguang Mar 8, 2024
91698c8
Run a periodic crash-test (dart-lang/markdown#590)
jonasfj Mar 10, 2024
4fea6ab
Link uri encoding, URL-escaping should be left alone inside the desti…
mym0404 Mar 19, 2024
a030f8e
Bump actions/checkout from 4.1.1 to 4.1.2 (dart-lang/markdown#604)
dependabot[bot] Apr 1, 2024
e5a8069
Bump subosito/flutter-action from 2.12.0 to 2.15.0 (dart-lang/markdow…
dependabot[bot] Apr 1, 2024
9a027d6
Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/markdown#606)
dependabot[bot] May 1, 2024
80fa07e
Bump subosito/flutter-action from 2.15.0 to 2.16.0 (dart-lang/markdow…
dependabot[bot] May 1, 2024
2c75412
Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/markdown#607)
dependabot[bot] May 1, 2024
8c2e821
blast_repo fixes (dart-lang/markdown#609)
devoncarew May 7, 2024
3dc3c68
Bump actions/checkout from 4.1.4 to 4.1.5 in the github-actions group…
dependabot[bot] May 7, 2024
cbff55e
Fix dart-lang/markdown#601: checkbox list separated with blank lines …
tomyeh May 22, 2024
bd7a8d0
Bump to 7.2.3 (dart-lang/markdown#612)
srawlins May 28, 2024
cf8ad91
update lints dependency (dart-lang/markdown#613)
kevmoo May 29, 2024
3507a5d
Bump actions/checkout from 4.1.5 to 4.1.6 in the github-actions group…
dependabot[bot] Jun 1, 2024
242761f
Bump the github-actions group with 2 updates (dart-lang/markdown#617)
dependabot[bot] Jul 1, 2024
5ba7c97
Add support for package:web 1.0.0 (dart-lang/markdown#619)
srujzs Jul 24, 2024
856d0d3
Bump actions/checkout from 4.1.7 to 4.2.0 in the github-actions group…
dependabot[bot] Oct 1, 2024
cd5a278
Fix `RangeError` hazards in links (dart-lang/markdown#624)
andrechalella Oct 16, 2024
6882f36
Update pub run syntax and remove 404 images (dart-lang/markdown#625)
andrechalella Oct 16, 2024
534508c
blast_repo fixes (dart-lang/markdown#627)
kevmoo Oct 29, 2024
ab76c6f
Adds export for link_reference_definition_syntax.dart (dart-lang/mark…
mack-at-pieces Oct 30, 2024
29f9d2d
Bump actions/checkout from 4.2.0 to 4.2.2 in the github-actions group…
dependabot[bot] Nov 1, 2024
fcc6066
Add one more note to the 7.2.3 changelog before publishing (dart-lang…
srawlins Nov 1, 2024
254fece
Bump the github-actions group with 2 updates (dart-lang/markdown#630)
dependabot[bot] Dec 1, 2024
093f239
Merge package:markdown into the tools monorepo
mosuem Dec 9, 2024
58c3f90
Add issue template and other fixes
mosuem Dec 9, 2024
46584c2
Moving fixes
mosuem Dec 9, 2024
3cebe93
Running `dart run build_runner build`
mosuem Dec 10, 2024
eee0128
Try to fix wf
mosuem Dec 10, 2024
a144189
Fix coverage path
mosuem Dec 10, 2024
dba101c
Fix CI
mosuem Dec 11, 2024
a5c3092
Fix CI even more
mosuem Dec 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/markdown.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: "package:markdown"
about: "Create a bug or file a feature request against package:markdown."
labels: "package:markdown"
---
4 changes: 4 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@
- changed-files:
- any-glob-to-any-file: 'pkgs/json_rpc_2/**'

'package:markdown':
- changed-files:
- any-glob-to-any-file: 'pkgs/markdown/**'

'package:mime':
- changed-files:
- any-glob-to-any-file: 'pkgs/mime/**'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/clock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:
push:
branches: [ main ]
paths:
- '.github/workflows/clock.yml'
- '.github/workflows/clock.yaml'
- 'pkgs/clock/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/clock.yml'
- '.github/workflows/clock.yaml'
- 'pkgs/clock/**'
schedule:
- cron: "0 0 * * 0"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/health.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
uses: dart-lang/ecosystem/.github/workflows/health.yaml@main
with:
ignore_coverage: "**.mock.dart,**.g.dart"
ignore_license: "**.mock.dart,**.g.dart,**.mocks.dart"
ignore_license: "**.mock.dart,**.g.dart,**.mocks.dart,pkgs/markdown/**"
permissions:
pull-requests: write
93 changes: 93 additions & 0 deletions .github/workflows/markdown.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: package:markdown

on:
# Run on PRs and pushes to the default branch.
push:
branches: [ main ]
paths:
- '.github/workflows/markdown.yaml'
- 'pkgs/markdown/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/markdown.yaml'
- 'pkgs/markdown/**'
schedule:
- cron: "0 0 * * 0"

env:
PUB_ENVIRONMENT: bot.github


defaults:
run:
working-directory: pkgs/markdown/


jobs:
# Check code formatting and static analysis on a single OS (linux)
# against Dart dev.
analyze:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [dev]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94
with:
sdk: ${{ matrix.sdk }}
- id: install
name: Install dependencies
run: dart pub get
- name: Check formatting
run: dart format --output=none --set-exit-if-changed .
if: always() && steps.install.outcome == 'success'
- name: Analyze code
run: dart analyze --fatal-infos
if: always() && steps.install.outcome == 'success'

# Run tests on a matrix consisting of two dimensions:
# 1. OS: ubuntu-latest, (macos-latest, windows-latest)
# 2. release channel: dev
test:
needs: analyze
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# Add macos-latest and/or windows-latest if relevant for this package.
os: [ubuntu-latest]
sdk: [3.2, dev]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94
with:
sdk: ${{ matrix.sdk }}
- id: install
name: Install dependencies
run: dart pub get
- name: Run VM tests
run: dart test --platform vm
if: always() && steps.install.outcome == 'success'

coverage:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94
with:
sdk: dev
- name: Install dependencies
run: dart pub get
- name: Install coverage
run: dart pub global activate coverage
- name: Collect and report coverage
run: dart pub global run coverage:test_with_coverage
- name: Upload coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: pkgs/markdown/coverage/lcov.info
27 changes: 27 additions & 0 deletions .github/workflows/markdown_crash_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Run against all markdown files in latest version of packages on pub.dev to
# see if any can provoke a crash

name: Crash Tests

on:
schedule:
# “At 00:00 (UTC) on Sunday.”
- cron: '0 0 * * 0'

defaults:
run:
working-directory: pkgs/markdown/

jobs:
crash-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94

- name: Install dependencies
run: dart pub get

- name: Run crash_test.dart
run: dart test -P crash_test test/crash_test.dart
66 changes: 66 additions & 0 deletions .github/workflows/markdown_flutter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Run a smoke test against package:flutter_markdown.

name: markdown_flutter

on:
# Run on PRs and pushes to the default branch.
push:
branches: [ main ]
paths:
- '.github/workflows/markdown_flutter.yaml'
- 'pkgs/markdown/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/markdown_flutter.yaml'
- 'pkgs/markdown/**'
schedule:
- cron: "0 0 * * 0"

env:
PUB_ENVIRONMENT: bot.github

jobs:
smoke-test:
runs-on: ubuntu-latest

steps:
- name: clone dart-lang/tools
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
repository: dart-lang/tools
path: tools_repo

- name: clone flutter/packages
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
repository: flutter/packages
path: flutter_packages

# Install the Flutter SDK using the subosito/flutter-action GitHub action.
- name: install the flutter sdk
uses: subosito/flutter-action@74af56c5ed2697ba4621264652728e8d217e53d3
with:
channel: beta

- name: flutter --version
run: flutter --version

- name: create pubspec_overrides.yaml
working-directory: flutter_packages/packages/flutter_markdown
run: |
echo "dependency_overrides:" > pubspec_overrides.yaml
echo " markdown:" >> pubspec_overrides.yaml
echo " path: ../../../tools_repo/pkgs/markdown" >> pubspec_overrides.yaml

- name: flutter pub get
working-directory: flutter_packages/packages/flutter_markdown
run: flutter pub get

- name: flutter analyze package:flutter_markdown
working-directory: flutter_packages/packages/flutter_markdown
run: flutter analyze

- name: flutter test package:flutter_markdown
working-directory: flutter_packages/packages/flutter_markdown
run: flutter test
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ don't naturally belong to other topic monorepos (like
| [graphs](pkgs/graphs/) | Graph algorithms that operate on graphs in any representation. | [![package issues](https://img.shields.io/badge/package:graphs-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Agraphs) | [![pub package](https://img.shields.io/pub/v/graphs.svg)](https://pub.dev/packages/graphs) |
| [html](pkgs/html/) | APIs for parsing and manipulating HTML content outside the browser. | [![package issues](https://img.shields.io/badge/package:html-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ahtml) | [![pub package](https://img.shields.io/pub/v/html.svg)](https://pub.dev/packages/html) |
| [json_rpc_2](pkgs/json_rpc_2/) | Utilities to write a client or server using the JSON-RPC 2.0 spec. | [![package issues](https://img.shields.io/badge/package:json_rpc_2-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ajson_rpc_2) | [![pub package](https://img.shields.io/pub/v/json_rpc_2.svg)](https://pub.dev/packages/json_rpc_2) |
| [markdown](pkgs/markdown/) | A portable Markdown library written in Dart that can parse Markdown into HTML. | [![pub package](https://img.shields.io/pub/v/markdown.svg)](https://pub.dev/packages/markdown) |
| [mime](pkgs/mime/) | Utilities for handling media (MIME) types, including determining a type from a file extension and file contents. | [![package issues](https://img.shields.io/badge/package:mime-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Amime) | [![pub package](https://img.shields.io/pub/v/mime.svg)](https://pub.dev/packages/mime) |
| [oauth2](pkgs/oauth2/) | A client library for authenticating with a remote service via OAuth2 on behalf of a user, and making authorized HTTP requests with the user's OAuth2 credentials. | [![package issues](https://img.shields.io/badge/package:oauth2-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aoauth2) | [![pub package](https://img.shields.io/pub/v/oauth2.svg)](https://pub.dev/packages/oauth2) |
| [source_map_stack_trace](pkgs/source_map_stack_trace/) | A package for applying source maps to stack traces. | [![package issues](https://img.shields.io/badge/package:source_map_stack_trace-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Asource_map_stack_trace) | [![pub package](https://img.shields.io/pub/v/source_map_stack_trace.svg)](https://pub.dev/packages/source_map_stack_trace) |
Expand Down
5 changes: 5 additions & 0 deletions pkgs/markdown/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.dart_tool
.packages
.pub
pubspec.lock
doc/
13 changes: 13 additions & 0 deletions pkgs/markdown/AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Below is a list of people and organizations that have contributed
# to the Dart project. Names should be added to the list like so:
#
# Name/Organization <email address>

Google Inc.

David Peek <[email protected]>
Daniel Schubert <[email protected]>
Jirka Daněk <[email protected]>
Seth Westphal <[email protected]>
Tim Maffett <[email protected]>
Alex Li <[email protected]>
Loading
Loading