[FEAT] better support for callout

This issue has been tracked since 2023-01-06.

Is your feature request related to a problem? Please describe.
Yes, when I use spaced repetition with a callout, I get in trouble. If I use single-line syntax in a callout (in a second level list), latex will not render correctly. Then I think maybe I can let the whole callout to be a card with a multi-line syntax, but I still fail.

Describe the solution you'd like
I think make a whole callout to be a flashcard will be a good idea.

Additional context
Some other plugin's function will not render correctly, like obsidian-tikzjax. Yes I'm using spaced repetition to study my mathematics note 😁! Thanks for the efforts of the developers.

monstertank wrote this answer on 2023-01-07

try this snippet

#sr-easy-btn {
    background-color: #344835a8;
}


#sr-hard-btn, #sr-good-btn, #sr-easy-btn {
    height: 48px;
    margin: auto;
    color: #8f8d8d;
    
}
#sr-show-answer {
    height: 48px;
    line-height: 48px;
    width: 96%;
    text-align: center;
    position: absolute;
    bottom: 0;
    cursor: pointer;
    background-color: #23282f;
    color: #aeafb1;
    border-radius: 4px;
    user-select: text;
}
#sr-good-btn {
    background-color: #2b3a46;
}

#sr-hard-btn {
    background-color: #402e2d;
 
}

.modal-content.sr-modal-content {
    position: unset !important;
}
.sr-link {
    float: unset !important;
}
#sr-flashcard-view {
  
    padding-right: 10px;
}
Rsssstt wrote this answer on 2023-01-08

Thanks for your help!

More Details About Repo
Owner Name st3v3nmw
Repo Name obsidian-spaced-repetition
Full Name st3v3nmw/obsidian-spaced-repetition
Language TypeScript
Created Date 2021-01-30
Updated Date 2023-03-19
Star Count 817
Watcher Count 9
Fork Count 94
Issue Count 174

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date