# Make Nuxt Handle Obsidian Highlights

By default Nuxt Content Plugin not handling `<span class="highlight">highlight</span>` links. To fix that we will create `Nitro` plugin:

    // ~/server/plugins/highlight.tsexport default defineNitroPlugin((nitroApp) => {  nitroApp.hooks.hook("content:file:beforeParse"    if (file._id.endsWith(".md")) {      file.body = file.body.replace(        /==([^=]+)==/gs,        `<span class="highlight">$1</span>`      );    }  });});