Skip to content

Commit f9fda2c

Browse files
committed
prep release with extensible FlexmarkHtmlConverter.
1 parent a43ba25 commit f9fda2c

113 files changed

Lines changed: 392 additions & 293 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.idea/codeStyles/Project.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/FlexmarkHtmlConverterTestSuite.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/scopes/Flexmark_Ext_Overview.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ than ideal and for pathological input either hangs or practically hangs during p
2020

2121
### master [![Build status](https://travis-ci.org/vsch/flexmark-java.svg?branch=master)](https://travis-ci.org/vsch/flexmark-java)
2222

23-
### latest [![Maven Central status](https://img.shields.io/maven-central/v/com.vladsch.flexmark/flexmark.svg)](https://search.maven.org/search?q=g:com.vladsch.flexmark)<!-- @IGNORE PREVIOUS: link --> [![Build status](https://travis-ci.org/vsch/flexmark-java.svg?branch=0.50.14)](https://travis-ci.org/vsch/flexmark-java) [![Javadocs](https://www.javadoc.io/badge/com.vladsch.flexmark/flexmark.svg)](https://www.javadoc.io/doc/com.vladsch.flexmark/flexmark)
23+
### latest [![Maven Central status](https://img.shields.io/maven-central/v/com.vladsch.flexmark/flexmark.svg)](https://search.maven.org/search?q=g:com.vladsch.flexmark)<!-- @IGNORE PREVIOUS: link --> [![Build status](https://travis-ci.org/vsch/flexmark-java.svg?branch=0.50.18)](https://travis-ci.org/vsch/flexmark-java) [![Javadocs](https://www.javadoc.io/badge/com.vladsch.flexmark/flexmark.svg)](https://www.javadoc.io/doc/com.vladsch.flexmark/flexmark)
2424

2525
<!-- [![codecov](https://codecov.io/gh/vsch/flexmark-java/branch/master/graph/badge.svg)](https://codecov.io/gh/vsch/flexmark-java) -->
2626
[![GitQ](https://gitq.com/badge.svg)](https://gitq.com/vsch/flexmark-java)
@@ -43,7 +43,7 @@ following sample:
4343
<dependency>
4444
<groupId>com.vladsch.flexmark</groupId>
4545
<artifactId>flexmark-all</artifactId>
46-
<version>0.50.14</version>
46+
<version>0.50.18</version>
4747
</dependency>
4848
```
4949

@@ -82,7 +82,7 @@ public class BasicSample {
8282
#### Building via Gradle
8383

8484
```shell
85-
compile 'com.vladsch.flexmark:flexmark-all:0.50.14'
85+
compile 'com.vladsch.flexmark:flexmark-all:0.50.18'
8686
```
8787

8888
#### Building with Android Studio
@@ -172,6 +172,9 @@ custom node renderer if you need to override the generated link HTML.
172172

173173
### Latest Additions
174174

175+
* Extensible HTML to Markdown Converter module:
176+
[flexmark-html2md-converter](https://github.com/vsch/flexmark-java/blob/master/flexmark-html2md-converter).
177+
Sample: [HtmlToMarkdownCustomizedSample.java]
175178
* Java9+ module compatibility
176179
* Compound Enumerated References
177180
[Enumerated References Extension](../../wiki/Enumerated-References-Extension) for creating
@@ -611,6 +614,7 @@ BSD (2-clause) licensed, see [LICENSE.txt] file.
611614
[GitHub Issues page]: ../../issues
612615
[hang-pegdown.md]: https://github.com/vsch/idea-multimarkdown/blob/master/test/data/performance/hang-pegdown.md
613616
[hang-pegdown2.md]: https://github.com/vsch/idea-multimarkdown/blob/master/test/data/performance/hang-pegdown2.md
617+
[HtmlToMarkdownCustomizedSample.java]: https://github.com/vsch/flexmark-java/blob/master/flexmark-java-samples/src/com/vladsch/flexmark/samples/HtmlToMarkdownCustomizedSample.java
614618
[Include Markdown and HTML File Content]: ../../wiki/Usage#include-markdown-and-html-file-content
615619
[intellij-markdown]: https://github.com/valich/intellij-markdown
616620
[Jekyll]: https://jekyllrb.com

VERSION.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ flexmark-java
55

66
[TOC]: # " "
77

8+
- [0.50.18](#05018)
89
- [0.50.16](#05016)
910
- [Next 0.42.14](#next-04214)
1011
- [0.42.12](#04212)
@@ -88,6 +89,13 @@ flexmark-java
8889

8990
&nbsp;</details>
9091

92+
0.50.18
93+
-------
94+
95+
* Add: `flexmark-html2md-converter` module which implements HTML to Markdown conversion with an
96+
extension API to allow customizing the conversion process. Sample: [HtmlToMarkdownCustomizedSample.java]
97+
* Fix: deprecate the old `flexmark-html-parser` classes
98+
9199
0.50.16
92100
-------
93101

@@ -1488,6 +1496,7 @@ setting either will affect both keys. For information on these keys see
14881496
[#348, WRAP\_AUTO\_LINKS defaults to false, Markdown loses a potential useful link]: https://github.com/vsch/flexmark-java/issues/348
14891497
[#349, Translation Helper bugs]: https://github.com/vsch/flexmark-java/issues/349
14901498
[#351, Is there any special format requirement for processing html data to markdown]: https://github.com/vsch/flexmark-java/issues/351
1499+
[HtmlToMarkdownCustomizedSample.java]: https://github.com/vsch/flexmark-java/blob/master/flexmark-java-samples/src/com/vladsch/flexmark/samples/HtmlToMarkdownCustomizedSample.java
14911500

14921501

14931502

flexmark-all/flexmark-all.iml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<orderEntry type="module" module-name="flexmark-formatter" />
5252
<orderEntry type="module" module-name="flexmark-formatter-test-suite" />
5353
<orderEntry type="module" module-name="flexmark-html-parser" />
54-
<orderEntry type="module" module-name="flexmark-html-converter" />
54+
<orderEntry type="module" module-name="flexmark-html2md-converter" />
5555
<orderEntry type="module" module-name="flexmark-integration-test" />
5656
<orderEntry type="module" module-name="flexmark-java-samples" />
5757
<orderEntry type="module" module-name="flexmark-jira-converter" />
@@ -66,4 +66,4 @@
6666
<orderEntry type="module" module-name="flexmark-ext-macros" />
6767
<orderEntry type="module" module-name="flexmark-ext-media-tags" />
6868
</component>
69-
</module>
69+
</module>

0 commit comments

Comments
 (0)