The changes made by @talatkuyuk
- fixed with
prettierPath: require.resolve("prettier-2")
, sincejest
doesn't support prettier@3 intoMatchInlineSnapshot
- updated the dependencies
- updated the README.md (badges, links, plugin lists, options and example sections)
- updated the
tsconfig.json
- added
package-lock.json
on behalf ofnpm ci
in github actions - added npm provenance
- added a github action for commits and pull requests
- added type coverage 100%
- added test coverage 100%
- added codecov connection
- added a test util, and updated all the tests
- added a fixture test
- made refinements in the code
- made refinements in types
- added a type namely
Container
by extending the@types/mdast
- prevented the key
className
to be in the returned object in fallback function in the optionstitleProperties
andcontainerProperties
- added an option "tokenForSpaceInTitle" to support code titles which composed with more than one word (fixes #2)
tokenForSpaceInTitle
Normally, the remark-flexible-code-titles
can match a code title which is the word that comes after a colon and ends in the first space it encounters. This option is provided to replace a space with a token in order to specify a code title consisting of more than one word.
use(remarkCodeTitles, {
tokenForSpaceInTitle: "@",
});
Now, the titles that have more than one word can be set using the token @
.
```bash:Useful@Bash@Commands
mkdir project-directory
```
<div class="remark-code-container">
<div class="remark-code-title">Useful Bash Commands</div>
<pre>
<code class="language-bash">mkdir project-directory</code>
<pre>
</div>