Go to Styling, remove text-align: center (does not work well for code snippets).
Now you are done!!! I recommend setting the default editor as the HTML Editor. You can just write Markdown in the HTML editor. You can find this option when you click Fields…
Hey, thanks for this. It’s really useful (might be awesome to link from the docs).
I noticed a small mistake though: {{FrontSide}} in the front template should be {{Front}} instead. Otherwise, you’ll get an error. {{FrontSide}} in the back template wasn’t also working so had to change that too.
I made the changes and now it’s working for me! I am trying out the APF templates recently so might try integrating these too.
Now if you don’t know how <script> tag works you can’t make a card for them
(well, that probably won’t be a use case, but I was just wondering what if it is).
I just took the front template and pasted it in a code block for testing purposes. It’s not an issue for me though as I’m not even learning HTML. I was just testing out the templates.
Ah, that was the source of confusion. I meant this:
```
I just pasted the front template here with three backticks
on each side and </script> seemed to cause issues (text here wasn't being displayed)
```
Try copy pasting the text above in the template. For me at least it appears blank when I look at the card.
Well, you could, inside the <script type="text/markdown"></script> tags. But including </script> inside that Markdown will cause a problem. I don’t know why you would want to do that.