Skip to content

v1.1.0

Latest
Compare
Choose a tag to compare
@talatkuyuk talatkuyuk released this 18 Mar 00:30

The changes made by @talatkuyuk

  • updated the dependencies
  • added package-lock.json on behalf of npm ci in github actions
  • added npm provenance
  • added a github action for commits and pull requests
  • updated the tsconfig.json
  • added type coverage 100%
  • added test coverage 100%
  • added codecov connection
  • updated the README.md (badges, plugin list, links)
  • added a test util, and updated all the tests
  • extended @types/mdast with the Insert type
  • the regex for matching inserted syntax is updated, and it is more strict now
  • added a second visitor to find insert syntax if it contains other phrasing contents
  • added a third visitor to find empty ins elements
  • updated the README.md

It is more powerful now

As of version ^1.1.0, the remark-ins can handle also the syntax containing other markdown phrases like strong, emphasis, link etc.

++**inserted bold content**++

++_inserted italic content_++

++[inserted link](https://google.com)++

It is more strict now

The double plus signs must be adjacent to the content. Here is an example for bad usage, and cause to not work.

++ text with unwanted space++

++text with unwanted space ++