Supercharge Markdown with Laravel

Supercharge Markdown with Laravel

Aaron Francis

7 месяцев назад

8,421 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@user-jz8ko6lf9h
@user-jz8ko6lf9h - 25.12.2023 22:51

you are great !! but i have a question can i do mobile app with laravel

Ответить
@danfg7215
@danfg7215 - 21.12.2023 21:27

I was caught completely off guard when you switched from dark to light mode without warning. I am now legally blind.

Ответить
@bart_pn
@bart_pn - 20.12.2023 12:38

I was wondering, how did you get that little contextual comment in your var dumper that shows the file containing the function call? Big fan of using var dumper in everything I make, but have never made anything in Laravel. Is it something Laravel does with the var dumper component?

Ответить
@Hyp3r8Sniper
@Hyp3r8Sniper - 18.12.2023 02:50

Absolutely love how concise and light-hearted your content is, thankyou for valuing our attention!

Ответить
@adampatterson
@adampatterson - 17.12.2023 23:24

I have never used static::$var I always use self::$var... any pros or cons?

Ответить
@lalit3969
@lalit3969 - 16.12.2023 22:59

# Summary
This video discusses how to extend Markdown in Laravel to enhance its functionality. Aaron Francis demonstrates adding syntax highlighting and Blade component rendering to Markdown.

# Highlights
- 💡 The author extends Markdown to customize its rendering process and achieve the desired appearance for their website.
- 💡 They use the Graham Campbell Markdown package, which is a Laravel adapter for the League's CommonMark package.
- 💡 The author adds the Torchlight extension for syntax highlighting and showcases its capabilities.
- 💡 They explain the issues with running Blade over Markdown-generated HTML and propose safer alternatives.
- 💡 The author demonstrates two approaches: removing code blocks, running Blade, and adding them back, or running Blade over the entire document and reinserting the code blocks.
- 💡 They provide code examples and explain how to enable and disable Blade parsing based on the source of the Markdown content.
- 💡 The author concludes by discussing the pros and cons of each approach and encourages careful consideration when implementing these extensions.

Ответить
@angelcruzdev
@angelcruzdev - 16.12.2023 21:46

Great video, I think that the first option is more safe to use? Am I wrong? 🤔

Ответить
@igotisekaid
@igotisekaid - 16.12.2023 11:47

I like to use Laravel, but i want to make a static website; I know is overkill, but should i really check other options or can i do it no problem with Laravel?

Ответить
@BreezyPixels
@BreezyPixels - 16.12.2023 09:47

Thanks for amazing video! Was actually dreading trying to figure out how to setup markdown to look nice this week, and now im excited :D

Ответить
@wadday
@wadday - 16.12.2023 08:04

i was hoping to see Vue component block along with blade :)

Ответить
@cptive
@cptive - 16.12.2023 02:03

Great video! Regarding the safe rendering; I also use Markdown + Blade, however instead of doing it the way you did, I decided to use the package by spatie "sheets". Never thought of the Blade code issue, so I decided to check. And sheets seems to handle it for me already! So perhaps a good choice for some people if you don't mind relying on a 3rd party package

Ответить
@TravisNorthcutt
@TravisNorthcutt - 16.12.2023 00:55

I am unreasonably happy that you said "I'm the captain now" for (at least) the second time in a video 👏👏👏

Ответить
@MrNichuya
@MrNichuya - 16.12.2023 00:24

Hey Aaron, great video as always (because PHP). What patern is your way to go for really large Laravel app?

Ответить
@Dero02
@Dero02 - 15.12.2023 22:05

The way you narrate is eerily similar to how I actually talk to myself when coding. 😅

Ответить
@illegalsmirf
@illegalsmirf - 15.12.2023 21:44

Is markdown a replacement for HTML and XML? Why are so many different markdown languages needed?

Ответить