Open zcyc opened 6 months ago
Seems you want to bring more content to your notes, however, content-publisher is focus on content conversion. But I believe you can achieve it by using other ob plugin like SilentVoid13/Templater: A template plugin for obsidian and Fevol/obsidian-translate: Translate text and entire notes in Obsidian.
Here is my example:
auto translate title to English by templater and translate.
title-en: <% await window.app.plugins.plugins.translate.api.translate(tp.file.title) %>
use title-en in content-publisher, such as generating pubSlug
title-en
{{simplify(relative(file.parent) + '-' + frontmatter['title-en'])}}
finally set as slug
slug
Seems you want to bring more content to your notes, however, content-publisher is focus on content conversion. But I believe you can achieve it by using other ob plugin like SilentVoid13/Templater: A template plugin for obsidian and Fevol/obsidian-translate: Translate text and entire notes in Obsidian.
Here is my example:
auto translate title to English by templater and translate.
use
title-en
in content-publisher, such as generating pubSlugfinally set as
slug