Skip to content

Emphasis within Quotes #1190

@Aldimensch

Description

@Aldimensch

Is your feature request related to a problem? Please describe.
I noticed that larger models really like to add Emphasis inside Spoken Text, causing the current Rendering to default to normal Emphasis Style. eg. <em> tags.
Image

Describe the solution you'd like
Add a new class of CSS that is added within a <q> tag.
Image

Furthermore, a new UI Setting should be included to change the color of the Emphasis in Quotes, aswell as a toggle which allows BOLD or and Italic to be selected.
Image

Task: Update the UI Preview to reflect the new Feature.

Describe alternatives you've considered
I am not getting paid enough to think about Alternatives. ;-)

The quote magic happens here: I belive

function wrapWithQuoteElement(str: string) {

And the CSS magic is here:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions