SEO plugin

Need Help!

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

  1. A single document file can contain multiple articles (each article can be distinguished in the code through tags or a title format).
  2. 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.
  1. This linking mechanism should also work across different articles located in separate Google Doc files.
  2. When updating an article (keywords or links), all previously written articles must also be updated accordingly.

Can anyone help me create this plugin?