With this configuration, an image file specified by !(/image.png) in Markdown can be recognized as. That's why the configuration above has the option dir to specify the location of static files. On nuxt/content, static directory is the location for static files by default, so if the published image paths are written in Markdown files in content directory which the Markdown files are located, the plugin cannot open the files because the plugin doesn't know static directory. The userId can be retrieved using one of the options mentioned in get the user ID.RehypePlugins : [ [ 'rehype-img-size',
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |