Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ozakione/mdast-unused-directives
https://github.com/ozakione/mdast-unused-directives
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ozakione/mdast-unused-directives
- Owner: OzakIOne
- Created: 2023-10-11T12:02:25.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-11T14:53:43.000Z (about 1 year ago)
- Last Synced: 2024-10-25T15:25:38.759Z (2 months ago)
- Language: JavaScript
- Size: 54.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Markdown Parser
This project is a remark plugin that uses mdast and unified to parse and transform markdown files.
## Installation
To install the plugin, run the following command:
```
npm install markdown-parser
```## Usage
To use the plugin, add it to your remark configuration:
```javascript
const remark = require('remark');
const markdownParser = require('markdown-parser');const processor = remark().use(markdownParser);
```You can also pass options to the plugin:
```javascript
const processor = remark().use(markdownParser, { /* options */ });
```## Options
The following options are available:
- `option1`: Description of option1. Default: `default value`.
- `option2`: Description of option2. Default: `default value`.## Testing
To run the tests, run the following command:
```
npm test
```## Contributing
Contributions are welcome! Please submit a pull request.
## License
This project is licensed under the MIT License.