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

Recall's Markdown Preview != VS Code's Markdown Preview #14

Closed
sam-6174 opened this issue Jun 14, 2022 · 2 comments
Closed

Recall's Markdown Preview != VS Code's Markdown Preview #14

sam-6174 opened this issue Jun 14, 2022 · 2 comments

Comments

@sam-6174
Copy link

sam-6174 commented Jun 14, 2022

Thanks for making this extension =) It's been a life saver for managing my flashcard studies!

Recall seems to be using Markdown settings that are vastly different than VS Code's builtin Markdown: Open Preview.

Is it possible to configure this behavior? Perhaps this issue is related to issue #12?

Below is an example markdown.

---
recall: header
---

### Generate all Permutations using Backtracking
 
```python
def func(args):
  for arg in args:
    print(arg)
```

answer
@frenya
Copy link
Owner

frenya commented Jun 30, 2022

Hi Sam. This is probably related to other extensions' CSS styles being applied in the Markdown preview.

I was considering automatically applying all the styles added by the other extensions but the experience wasn't ideal. Some of the styles really messed up the cards.

After some experimentation I have decided to add the option to selectively choose the additional styles to apply. This is now deployed in v0.12. New command called 'Recall: Enable CSS styles from other markdown preview extensions' was added which lets you pick and choose.

Let me know if it works for you. It might take some experimentation to get the selection right.

@sam-6174
Copy link
Author

sam-6174 commented Jul 5, 2022

Hi frenya, thanks for the update 🚀

The flashcard styling now perfectly aligns with the styling in the rest of VS Code, and this solution hits the sweet spot of ease and configure-ability!

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

No branches or pull requests

2 participants