ryanlelek / Raneto

Markdown powered Knowledgebase Wiki for Node.js
https://raneto.com
MIT License
2.79k stars 446 forks source link

How to show the png images in the page? #359

Closed zazaji closed 2 years ago

zazaji commented 3 years ago

The md file name that contains dot (eg. 1.1-preface.md) , can't be opened correctly .

ryanlelek commented 2 years ago

Hi @zazaji The title of the issue is different than the main text.

To show PNG images (or other images) in the page, you'll need to use Markdown syntax ![My PNG Image Description](https://www.example.com/myimage.png) or For more details, see this Markdown guide

If you wish to host the image locally, there is not a way in the content/ directory, which would make sense. Instead, put it in the themes/default/public/ directory for now. (This should be fixed in a future version)


Having periods in file names is already filed on #317 So follow that issue for more details

ryanlelek commented 2 years ago

Please follow the uploading of images and other files on this new issue #372


Closing this issue. Please open a new issue for any questions or requests you have. Thanks for understanding while we clean up older issues in the repo.