How to get html via joplin tools?

I can get markdown data by const selectedNote = await joplin.workspace.selectedNote().
But I cannot get html data.
How can I get it?