- Clean console output
-
Change
Tag
andSelfCloseTag
class property namecontent
toinnerHTML
-
fix #60
-
fix quote in tag attribute can not be detected correctly
-
fix
|
escapes in table -
ADD:
tagListener
to custom some props of tag(tagName, props: TagListenerProps): TagListenerReturnProps => TagListenerReturnProps`
- add eslint and premitter
- sourcecode use es module
- convert to typescript
- add
renderCustomTags
in options
- add title in a tag
- add input options in demo page
- fix undefined language in pre tag
- fix p tag add an extra gap when inside text node.
- update get language function define in pre tag.
- fix#45
- fixed: keep format in coding block(#44)
- reset config before start
- fix #43
- fix #42
- Support attr:align in table
- Add UMD to support browser #41
- Less space
- Change some default configs
- Add typings for typescript #34
- Fixed issue #33, use
\s
instead of' '
in tags attribute detect.
- Speed up parse string
- Remove
window
- Remove
throw Error
, add some errors test - Add empty
table
detect, add test case
- Remove the first
\n
in some tags - Escape some character in some tag, like
<b>* abc</b>
- Fix render issues when
<br>
in<li>
- Fix render issues when have
`
(single or multiple) in<code>
or<pre>
- Ignore extra tags if already have
code
tag insidepre
- Output some raw unvalid content, like
<
in the tag contents.
- Fix when render as raw HTML, remove all the wrap.
- Fixed some tags inside
th
,td
will cause wrap.Consider<td><div>ABC</div></td>
- Add some tags should render as raw HTML inside a table.Consider
<td><ul><li>1</li></ul></td>
- Add
aliasTags
. - Remove console in production.
- Remove console.
- Add 'dl,dd,dt' inside default skipTags.
- Fixed some no used space.
- Add 'html' and 'body' inside default skipTags.
- Add
force
options, it can totally overwrite the customize options object. - Fix some redundant empty line.
- Fixed bugs that cause text after heading tags will not line feed.
- created
CHANGELOG.md
, supportenglish
readme - add options, can set the tags resolve strategy
- add
div
to default value ofoptions:skipTags
- skipTags will check if need '\n'
- add support for tag
<input type="checkbox" />
- fixed the bug when
<code>
language ismarkdown
- fixed the bug when
<p>
nest in<li>
- fixed some nest tag render bug
- merge tht common use code