Skip to content

Commit

Permalink
feat: add alias/metadata to transclude tag (jackyzha0#1229)
Browse files Browse the repository at this point in the history
  • Loading branch information
HyperEpsilon authored and DronHazra committed Oct 27, 2024
1 parent c64a38a commit fbecbcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quartz/plugins/transformers/ofm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ export const ObsidianFlavoredMarkdown: QuartzTransformerPlugin<Partial<Options>
return {
type: "html",
data: { hProperties: { transclude: true } },
value: `<blockquote class="transclude" data-url="${url}" data-block="${block}"><a href="${
value: `<blockquote class="transclude" data-url="${url}" data-block="${block}" data-embed-alias="${alias}"><a href="${
url + anchor
}" class="transclude-inner">Transclude of ${url}${block}</a></blockquote>`,
}
Expand Down

0 comments on commit fbecbcf

Please sign in to comment.