SEO plugin
  • charli55
    -- Veteran Member --
    -- Veteran Member --
    Posts: 290
    Joined: Wed Feb 19, 2020 12:29 pm

    SEO plugin

    by charli55 » Wed Feb 25, 2026 9:29 am

    Need Help!

    I am coding a plugin for Obsidian for SEO purposes with the following requirements:

    A single document file can contain multiple articles (each article can be distinguished in the code through tags or a title format).
    The main keyword of each article should appear in orange only within its own article. However, if it appears in other articles:

    First appearance: It should automatically link to the article where it is the main keyword, and the keyword will appear in blue.
    From the second occurrence onward: The keyword should appear in pink.

    This linking mechanism should also work across different articles located in separate Google Doc files.
    When updating an article (keywords or links), all previously written articles must also be updated accordingly.

    Can anyone help me create this plugin?


  • User avatar
    Zeero
    -- Veteran Member --
    -- Veteran Member --
    Posts: 118
    Joined: Fri Sep 10, 2021 12:41 pm

    Re: SEO plugin

    by Zeero » Thu Feb 26, 2026 11:21 am

    You could track each article’s main keyword with a simple frontmatter field, then run a background scan that marks the first occurrence globally and swaps it for a link. After that, your plugin can color the rest with a span class. I’ve had to do similar stuff for a digital marketing agency in Malaysia, and keeping a small keyword index made everything way easier to manage.

Who is online

Users browsing this forum: Bing [Bot] and 6 guests