Skip to content

How do i describe a dir path for loading pngs? #276

Closed

Description

@Knight-of-Code

I am trying to use this plugin so I can use variables instead of typing relative or absolute path for PNG files under mkdocs/docs/assets/images/applications/

extra:
  app_images: /assets/images/applications/

I did above in mkdocs.yml and ![]({{ app_images }}syncthing.png) in MD file, but it doesn't work as I wanted. Although PNG loads, but It's just guessing the path.

INFO    -  Doc file 'wiki/Docker/compose/applications/syncthing.md' contains an absolute link '/assets/images/applications/syncthing.png', it was left as is. Did you mean '../../../../assets/images/applications/syncthing.png'?

How to do this correctly?

Activity

  1. github-actions commented on Nov 8, 2025

    @github-actions

    Welcome to this project and thank you!

  2. Repository owner locked and limited conversation to collaborators on Nov 8, 2025
  3. converted this issue into a discussion #277 on Nov 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions