SOLVED Resize images in the extension doc



  • Is there any control over how RF renders the markdown file which is used in the extension bundle? I see that I can build the html differently using the method which is used in the batch extension repo, but I was wondering if there could be another way of making images appear smaller in the html file of the extension without invloving other modules.

    Thanks


  • admin

    hi @bahman,

    you can provide your own style.css file inside the same folder as the markdown or html sources, and it will override the default stylesheet.

    we can also try to improve the default stylesheet so that large images are scaled to fix into the window width.

    cheers


  • admin

    the default css for markdown extension docs in the new RF 3.4 beta includes a rule to constrain the image size to the width of the window. (see the Boilerplate Extension for an example) thanks!