How to Create Social Preview Cards in MkDocs Material

Sdílet
Vložit
  • čas přidán 23. 08. 2024

Komentáře • 13

  • @telecomcraft
    @telecomcraft Před rokem +1

    Fantastic tutorial, James! Just starting our website and eager to build out some social cards.

  • @james-willett
    @james-willett  Před rokem

    💎 Social preview cards are one of my favourite features of MkDocs Material! What other MkDocs videos would you like to see? Let me know below 👇

  • @aizazkhan5439
    @aizazkhan5439 Před 11 měsíci

    Your videos are helping me a lot. Can you please make a video on Jinja as well. Thank you.

  • @wesleygrant2245
    @wesleygrant2245 Před rokem +1

    Great video thanks! You have any suggestions for forcing an update to the page custom property? I'm creating a drawer for the table of contents and I'm struggling to figure out the dynamic logic.

    • @james-willett
      @james-willett  Před rokem +1

      Hey Wesley - honestly I'm not too sure how to force an update... other than making a change and reloading the page. Maybe post the question here - github.com/squidfunk/mkdocs-material/issues ?

  • @TheDiabeticWay
    @TheDiabeticWay Před 10 měsíci

    Thank you for these great videos! I seem to always come unstuch and have again! When you install python things liek packages does it matter if its done in windows cmd o rdoes it all need to be done in Visual Studio code as I tend not to use python on my other projects and using python messes that setup up, and Im trying to use this method so I can transfer things over to it but need to be certail its setup correctly and so far its not! I know Im using windows and your commands are not for windows so I have to search for things on window to follow your video. Things like source venv I have to use virtualenv env instead so it confuses me a bit an di dont want to use the server and use a server like I use to! But if I can find a easier way be a great help! Thanks again for your videos!

  • @udirt
    @udirt Před 3 měsíci

    ok that is a completely different level. thanks for sharing. also don't take the job at black mesa! ;-)

  • @abdheshkumar2069
    @abdheshkumar2069 Před rokem +1

    @james how do you include socail card on page as it generates image with uuid name?

    • @james-willett
      @james-willett  Před rokem

      I think that the Social card plugin with insiders produces images with an actual name... but the ones with UUID should only regenerate if something changes in the card (e.g. page title) - so could you use the UUID perhaps?

    • @abdheshkumar2069
      @abdheshkumar2069 Před rokem

      @@james-willett thank you. I followed your video and somehow it is not changing image generation directory.

    • @james-willett
      @james-willett  Před rokem

      @@abdheshkumar2069 please post the issue here, and the Material team will look into it - github.com/squidfunk/mkdocs-material/issues

  • @aizazkhan5439
    @aizazkhan5439 Před 11 měsíci

    I am doing this on Windows system, so brew install doesn't work for me. Can you please help?