With r/python out for the next 48 hours, here’s a post to promote continuing discussion a language we all love. Python.

  • Michelle
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    I’ve made a small python script to copy over blog posts I write from Obsidian to Hugo, and change the hyperlinks from the markdown format to the Hugo format.

    I really love working on small projects in python, such a great language.

    • TheDudeOPA
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      This is really cool! Do you have you code on github? How are you handling pictures? I noticed that the way obsidian and hugo do it are different (obsidian adds it in the same working folder while hugo has a specific folder to store images)

        • imperator
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          Would be really interesting to do something similar with Lemmy links so you stay within your own instance. Not sure if that is something that could be done server side or if it’s front end development.