web-remarq 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -2061,6 +2061,13 @@ function generateMarkdown() {
2061
2061
  lines.push(elDesc);
2062
2062
  lines.push(`Viewport: ${ann.viewportBucket}px`);
2063
2063
  lines.push("");
2064
+ if (fp.sourceLocation) {
2065
+ lines.push(`Source: \`${fp.sourceLocation}\`${fp.componentName ? ` (${fp.componentName})` : ""}`);
2066
+ lines.push("");
2067
+ } else if (fp.detectedSource) {
2068
+ lines.push(`Source (detected): \`${fp.detectedSource}\`${fp.detectedComponent ? ` (${fp.detectedComponent})` : ""}`);
2069
+ lines.push("");
2070
+ }
2064
2071
  lines.push("Search hints:");
2065
2072
  if (fp.dataAnnotate) {
2066
2073
  lines.push(`- \`data-annotate="${fp.dataAnnotate}"\` \u2014 in template files`);