https://github.com/yszk0123/gitbook-plugin-escape-content
https://github.com/yszk0123/gitbook-plugin-escape-content
gitbook-plugin javascript
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yszk0123/gitbook-plugin-escape-content
- Owner: yszk0123
- License: mit
- Created: 2017-06-29T06:38:40.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-09-24T00:07:05.000Z (over 6 years ago)
- Last Synced: 2025-02-28T20:17:14.221Z (about 1 year ago)
- Topics: gitbook-plugin, javascript
- Language: JavaScript
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gitbook-plugin-escape-content
GitBook Plugin for escaping content.
## Installation
book.json
```json
{
"plugins": ["escape-content"],
}
```
and
```
gitbook install
```
## Example
```json
{
"pluginsConfig": {
"escape-content": {
"include": ["raw/"]
}
}
}
```
### docs/hello.md
```
Hello, world!
```
### docs/sample-1.md
```
{% extends "hello.md" %}
```
Result
```
Hello, world!
```
### raw/sample-2.md
```
{% extends "../docs/hello.md" %}
```
Result
```
{% extends "../docs/hello.md" %}
```
### SUMMARY.md
```
# Summary
* [Sample 1](raw/sample-1.md)
* [Sample 2](docs/sample-2.md)
```