You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This site uses marked for handling the processing of markdown, and Github-Flavored Markdown is a default feature (or it should be default, per the docs)
For example, if you add this block of code to your presentation:
```php
echo('foo bar');
$x = false;
\```
(but without that leading slash at the end; couldn't figure out how to display the code block backticks otherwise 😂) Then you will get the following HTML:
It looks like it's doing something related to formatting, but so far only adding that language- class to the surrounding element. Without doing more research, I assume we need to:
Find a front-end tool that takes that code and styles it, or
Breaks that down into more classes, and then allows us to write styles to highlight the code ourselves
That's where I'm at with this. Research the rest, explore, and implement what you can!
The text was updated successfully, but these errors were encountered:
This site uses marked for handling the processing of markdown, and Github-Flavored Markdown is a default feature (or it should be default, per the docs)
For example, if you add this block of code to your presentation:
(but without that leading slash at the end; couldn't figure out how to display the code block backticks otherwise 😂) Then you will get the following HTML:
Which looks like this:
It looks like it's doing something related to formatting, but so far only adding that
language-
class to the surrounding element. Without doing more research, I assume we need to:That's where I'm at with this. Research the rest, explore, and implement what you can!
The text was updated successfully, but these errors were encountered: