Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Substitute calls to convertMarkdownToHtml to MarkdownRenderer.render #43

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

EdBarrancos
Copy link
Member

No description provided.

@EdBarrancos EdBarrancos self-assigned this Nov 10, 2024
@EdBarrancos EdBarrancos linked an issue Nov 10, 2024 that may be closed by this pull request
taskListRender.dataset["language"] = "hypermd";
taskListRender.insertAdjacentHTML("afterbegin", convertMarkdownToHTML(this.template));
MarkdownRenderer.render(this.app, this.template, taskListRender, "./", this.component);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Este component é o plugin em si, ou é impressão minha? não dava para o componente ser só o modal?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Acho que nao. Que o Modal nao da inherit do tipo Component

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modal implementa a interface ClosableComponent, mas nao é um Component pelo que percebi

private app: App;
private taskifier: Taskifier
private editor: Editor;
private app: App;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isto está com 2 tabs ou é impressão minha?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bem, montes de ficheiros parecem estar com 8 spaces tabs em vez de 4

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Acho que so tem 1 tab. E acho que sao 4 spaces

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use MarkdownRenderer.render from ObsidianAPI
2 participants