You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
List of [rehype plugins](https://github.com/rehypejs/rehype/blob/main/doc/plugins.md#list-of-plugins) to use.
111
109
See the next section for examples on how to pass options
112
110
111
+
## Markdown Features
112
+
113
+
### Supports for CSS Style
114
+
115
+
Use HTML comments [`<!--rehype:xxx-->`](https://github.com/jaywcjlove/rehype-attr)<!--rehype:style=color: red;--> to let Markdown support style customization.
### Support for [GFM footnotes](https://github.blog/changelog/2021-09-30-footnotes-now-supported-in-markdown-fields/)
125
+
126
+
```markdown
127
+
Here is a simple footnote[^1]. With some additional text after it.
128
+
129
+
[^1]: My reference.
130
+
```
113
131
114
132
## Development
115
133
@@ -119,9 +137,8 @@ Runs the project in development mode.
119
137
# Step 1, run first,
120
138
# listen to the component compile and output the .js file
121
139
# listen for compilation output type .d.ts file
122
-
npm run watch
123
140
# listen to the component compile and output the .css file
124
-
npm run css:watch
141
+
npm run watch
125
142
# Step 2, development mode, listen to compile preview website instance
126
143
npm start
127
144
```
@@ -135,16 +152,15 @@ npm run build
135
152
The build is minified and the filenames include the hashes.
136
153
Your app is ready to be deployed!
137
154
138
-
139
155
### Related
140
156
141
157
If you need more features-rich Markdown Editor, you can use [@uiwjs/react-markdown-editor](https://github.com/uiwjs/react-markdown-editor)
142
158
159
+
-[@uiw/react-markdown-editor](https://github.com/uiwjs/react-markdown-editor): A markdown editor with preview, implemented with React.js and TypeScript.
160
+
-[@uiw/react-md-editor](https://github.com/uiwjs/react-md-editor): A simple markdown editor with preview, implemented with React.js and TypeScript.
143
161
-[@uiw/react-textarea-code-editor](https://github.com/uiwjs/react-textarea-code-editor): A simple code editor with syntax highlighting.
144
162
-[@uiw/react-codemirror](https://github.com/uiwjs/react-codemirror): CodeMirror component for React. @codemirror
145
163
-[@uiw/react-monacoeditor](https://github.com/jaywcjlove/react-monacoeditor): Monaco Editor component for React.
146
-
-[@uiw/react-markdown-editor](https://github.com/uiwjs/react-markdown-editor): A markdown editor with preview, implemented with React.js and TypeScript.
147
-
-[@uiw/react-md-editor](https://github.com/uiwjs/react-md-editor): A simple markdown editor with preview, implemented with React.js and TypeScript.
0 commit comments