joethei / obsidian-tts

Text to speech for Obsidian. Hear your notes.
GNU General Public License v3.0
71 stars 10 forks source link

Use rendered content as text source #4

Closed joethei closed 2 years ago

joethei commented 2 years ago

Currently the plugin is using the source.

This would allow for the following plugins output to be read:

brainoverflow98 commented 2 years ago

I have created a pull request which adds the possibility to select the text to be read from the rendered content.

joethei commented 2 years ago

Your PR only allows for starting the playback when in reading mode, but does allow for plugin output to be read.(Which is what this FR is for)

brainoverflow98 commented 2 years ago

What do you mean by "plugin output" ?

joethei commented 2 years ago

Some plugins, like Admonition and Dialogue for example, allow for rendering custom content by putting some code in a code block.

It would be nice to be able to listen to this output, without the surrounding code block. This would need to happen on a plugin by plugin basis.

brainoverflow98 commented 2 years ago

Ok will check them later.