---
title: Supercharge Markdown with Laravel
url: "https://aaronfrancis.com/videos/supercharge-markdown-with-laravel"
path: "/videos/supercharge-markdown-with-laravel"
type: video
author: Aaron Francis
published: 2023-12-15
topic: "Laravel & PHP"
keywords: [markdown extensions, blade components, laravel markdown, commonmark, blade rendering, content parsing, newsletter signups, inline ads, content safety, dynamic content, code injection, component rendering]
youtube_url: "https://www.youtube.com/watch?v=dt1ado9wJi8"
site_index: "/llms.txt"
keyword_index: "/llms/keywords.txt"
---

# Supercharge Markdown with Laravel

## Chapters

- Extending Markdown
- Commonmark extensions
- Dangerous Blade rendering
- Safe Blade rendering, the first method
- Adding a safety feature
- Safe Blade rendering, the second method
- Adding inline ads with markdown
- Adding newsletter signups

## Transcript

**Aaron Francis:** I love writing my content in Markdown, but there are a few things that Markdown doesn't do that I kinda need it to do to make my site look just the way that I want it. So we're gonna extend Markdown. We're gonna hook into the Markdown rendering process, add a few hooks, do some magic, and that way we can end up with this, which I think, I think is pretty good.

**Aaron Francis:** We have a little Blade component here. We have some nice syntax highlighting, and then I'll show you one or two other things that may, um, take your Markdown experience or, or your reading experience to the next level and allow you to, like, uh, solidify some best practices on your website. Let's start by looking at the composer.json. I'm using this Graham Campbell Markdown package, which is just kind of a thin wrapper around the League's CommonMark package.

**Aaron Francis:** CommonMark is actually doing all the work, but this Markdown package is like a Laravel adapter, and it also gives us this Markdown configuration file. So in your config, you have this markdown.php, and the place that we are gonna hang out is in this extensions array. So you can see I'm using a few of the, um, a few of the first-party extensions, but we're gonna start writing some of our own stuff in here.

**Aaron Francis:** So without all of the extensions, this is what it looks like locally. There's no syntax highlighting. There's no Blade compilation. There's, there's really nothing going on. So to get started, the first thing I'm gonna do is I'm just gonna add the Torchlight extension and CommonMark v2 Torchlight extension. Torchlight is a syntax highlighting library that I wrote that m- turns it into this.

**Aaron Francis:** So I think this is already a lot better. That's one of the really nice things about Markdown is a lot of packages have Markdown or CommonMark extensions that'll take your, for example, code from ugly to really pretty, and you can do lots of neat things like add these little highlight or focus areas. Um, and if you want, you can have light and dark mode. So, um, I should have warned you before I switched that, but there you go.

**Aaron Francis:** So we've already added a third-party extension. Let's... What would you call that? A second party? We're gonna write our own extension. I don't know if that's second party or not. I've actually... I don't know what second party is. First, second, or third party, who knows? But here's what we're gonna do. This right here, that's supposed to be a Blade component. If we inspect that, you'll see that is X tweet, and the browser didn't know what to do with it, so it didn't do anything with it, and it just output the slot in the middle.

**Aaron Francis:** We need to get this to run through the Blade parsing or Blade rendering pipeline, and right now it doesn't. So the way that we're putting, the way that we're putting this on the page is we've got post Blade here, and if we just DD this view, um, all we're doing is we're just including that Markdown file in a layout called post.

**Aaron Francis:** And so if we refresh that, you'll see this is the name. This is the name of that file, and then the, um, Blade process is picking up that file and rendering it as Markdown, not as Blade. So one thing that we could do, instead of saying include view, is we could, if we wanted, and I don't think this is a good idea, we could say view make view render.

**Aaron Francis:** So that's kinda doing the exact same thing. So if we put all that out to the browser, you'll see we're, we're right back where we started. But now we have this as a string, and so will that still work? Yes, that'll still work. So now that we have this view as a string, we could say, let's go ahead and use Blade to render that view, and something went wrong.

**Aaron Francis:** Well, here's why we're not gonna do this. Um, let me show you. Let's... Rendering components in Markdown. Let's get rid of everything in here. We'll get rid of all of that and see if that works. Okay, that worked. So something is wrong with our content such that when we run it through Blade, Blade freaks out and says, "I, I, I don't know what's going on here." What was the error?

**Aaron Francis:** Uh, the error was unexpected end if. So let's scroll down here, and uh-oh, this is valid Blade, but I was writing it as a code block in my content. So that's why we don't wanna run Blade over HTML that has been generated from Markdown.

**Aaron Francis:** Because if your Markdown includes valid Blade, Blade is going to try to run it. So if we check back here, and we say @endif, Blade is looking at that and saying, "Great, I know what to do with @endif. I'm gonna try to close the if statement." It's like, ah, there's, there's no if statement. This is actually content.

**Aaron Francis:** That's kind of a bad case scenario. It's super annoying. Your site's gonna break. But a worst case scenario, somebody figures out that you're doing this on user-generated content, and they think, "All right. Well, now I have keys to the kingdom. Let me show you how that works." So coming back over here, let's say I'm writing an article for your very fancy website that I realize is running Blade on my output, and I say, "That's interesting.

**Aaron Francis:** Let's just call this... We'll call this text." And what if I were to say that... What do I wanna see? File, get contents, um, of base path. Uh, let me look at your .env. And since you're running Blade on that, surprise, surprise, there's your env file.

**Aaron Francis:** It's over. You lose. Game over. Thanks for playing. So instead of doing this naive and potentially devastating thing of running Blade over the output of a Markdown rendering process, we're not doing that. Instead, we're gonna hook in to the Markdown rendering process and muck about with the abstract syntax tree and do stuff a lot more safer and a lot more in control.

**Aaron Francis:** There are two approaches we could take. One is remove all of the code blocks from the document, run Blade over what's left over, and put the code blocks back. It's pretty good, pretty safe. The other one is we can take all of the code blocks out, treat those as Blade themselves, render that, and then put that content back in. The second one is where we're gonna start. So the first thing that we need to do is we need to create our own extension.

**Aaron Francis:** So if we look in the Markdown here, you'll see you can register all of your extensions. We need to create our own. We're gonna put it in here. This, uh, CommonMark library- It's very good. It's very, very good. It is very best practices, so there are tons of interfaces, tons of things you can't touch, but we can kinda, we can kinda figure it out. So we're gonna write a code renderer extension, and we'll say that this extension implements...

**Aaron Francis:** What is it? It's, uh, I think it's an extension interface and a node renderer interface. Yes. So we'll add those method stubs, and the first thing we need to do is we need to, um, register whatever we want with the environment. So when the CommonMark environment is booting up and saying, "All right, let's put everything together," you need to say, "Hey, I got something for you." The thing that we have, in this case, is two different renderers, one for fenced code and one for indented code.

**Aaron Francis:** Two different things, kind of the same thing, just two different ways to write code. And what we're gonna do is we're gonna say the renderer is actually this very class. So anytime you have either one of these, call this class, and we'll accept it into this render function. And we're gonna set the priority pretty high because we wanna be in charge. I'm the captain now. So when it comes time to render one of these two classes or these two block types, we're gonna drop in here.

**Aaron Francis:** And before we do anything interesting, we're just gonna dump it out. And if we go to Markdown, and we say, "Hey, I have a class now," and if you can remember the name, it is CodeRendererExtension. Sometimes the brain, you know? And if you go back to the browser, hey, it worked. Thanks Vite. Vite auto-reloaded. Here we go. This is the first code block on the page.

**Aaron Francis:** We can verify that by looking at the code and changing this code block to say foobar. And if we come back here, foobar. So now we are in control. We have access to the blocks as they're being rendered. Why is this helpful? Not helpful for this, right? W- we don't, we don't need this part because this is actually code I wanna put on the page.

**Aaron Francis:** The thing that I am looking for is I need this to actually turn into Blade, not to be rendered as Blade. I need it to turn into Blade. And so what I'm gonna do is I'm gonna add this magic annotation that does nothing. This does nothing, but this is what we're gonna do. Um, what do you wanna call it? You wanna call it literal? Let's call it parse. So this is our shorthand, you and me, us.

**Aaron Francis:** This is our shorthand for saying, "Hey, I am gonna write this as a code block, but in fact, run it as Blade." I'm actually gonna change it to HTML so that I get more syntax highlighting there. But parse this as Blade. Now we gotta figure out, ooh, how do we do that? Um, well, here we are in the render function, and we can look at this and say, oh, the info is HTML plus parse.

**Aaron Francis:** Perhaps that's a good thing to look for. So if you're at the head of the class, you already know where this is going. We're gonna take the code blocks. We're gonna see if it has that extra little plus parse on there, and if so, we're gonna run the literal content through Blade and put that back in. So what do you wanna do first? The first thing I think I wanna do is I wanna hint what this is. So if we say that var node is an instance of indented code or fenced code, we can then DD node get literal, and there we go.

**Aaron Francis:** That is the literal content, which is a good start, so we can... Uh, we don't need to do anything with that. The other thing that we need to look for is, um, what was, what was info? So I wonder if there's a get info, get info words. Hey, that's a good start too. So now we have the plus parse.

**Aaron Francis:** So let's pull this guy out and say that info equals that. And I wonder if indented code... I don't think indented code would have info words. Would it? Um, no. Indented code is simply indented instead of three backticks. So in fact, we don't need this indented code, and we can just say that that is fenced code.

**Aaron Francis:** So if in array, the needle that we're looking for is plus, oh my goodness, parse. The haystack is info, and like every developer. Perfect. So now we're here. If in array, so if it has this magical plus parse, uh, info word, we're gonna return Blade render the literal, and I don't actually know how we bail

**Aaron Francis:** out. Maybe we just return null. So, hey, look at that. That's a Blade component. That totally, totally worked. So we know that that, we know that that's us because if we returned, hey, hey, but instead, we're gonna run that literal through, and you see it's got all this nice stuff, and I can click on it, and that's great. And it looks like if we return null, so if we don't return anything at all, um, which is either null or void, uh, it just passes on to the next renderer.

**Aaron Francis:** And so Torchlight still gets to pick up the rest of these and do its thing on those. So we did it. That was it. That's all we have to do. I like this method because I like being explicit about what Blade is going to be run. I also like seeing the syntax highlighting and not worrying about indentation in Markdown when I'm writing HTML. But this is still not super safe from user-generated content.

**Aaron Francis:** And if I were to load this extension and then let somebody else write Markdown, they could potentially do the exact same thing. So we're gonna add one more safety feature to this method. The safety feature that we're going to add is we're going to say, um, we're gonna, let's say, public static, uh, what do you wanna call it? Allow Blade for next parse or next document.

**Aaron Francis:** And we're gonna start by turning this off. So allow Blade for next document, and if not static, allow Blade for next document. We're just gonna return. In fact, we can just do that right up here. And so now we should see this go back to unparsed, uh- Yeah, it's just code now.

**Aaron Francis:** So now instead of parsing it as Blade, it's just code. And what we wanna do is in our view controller, where I know that I'm pulling it off the disk, and it's not something that somebody else has generated, we can say code renderer extension allow true. And if we hop back over here, great.

**Aaron Francis:** So now if I had two separate places in my application, um, where I'm rendering markdown, one is user-generated content, one is Aaron-generated content, I can just turn it on for the Aaron-generated content. The other thing that we need to do is we need to turn it back off, and we could do that by adding an event listener for the document rendered event. And this is gonna run after the document has been rendered, and we can create a public function on document rendered event and do static, uh,

**Aaron Francis:** allow equals false. So down here, we're just gonna turn it back off, and that's not right. Allow Blade for next document. There we go. So now we turn it on in our controller when we're certain that it's not user-generated content, and then we turn it off after that document has been run. That way, it doesn't leak if you're using something like Octane.

**Aaron Francis:** That one was pretty easy, but you need to brace yourself 'cause it's about to get a lot more complicated. We're gonna look at the second method. Instead of pulling the code blocks out, seeing if they're special, and running Blade over them, we're gonna pull all of the code blocks out, run Blade over the remaining document, and then put the code blocks back in. I don't love this method, I'll be honest. It's kinda cool. It does allow you to write Blade in line in your markdown instead of doing the weird code block thing.

**Aaron Francis:** I don't know, man, but I'll show you how we're gonna do it. So the first thing we need to do is create a new extension. So instead of calling this code renderer extension, let's call this one Blade renderer extension. We're gonna call this Blade renderer extension. We're gonna go back to markdown and just turn it on immediately. Blade renderer extension.

**Aaron Francis:** That's good. And now let's come back over here. Implements extension interface. I think that might be the only one we need for this guy. In the register method, we're gonna add two event listeners. We're gonna add an event listener for document parsed, and so that's before-- That is, um... It's been turned into an AST, an abstract syntax tree, before anything really interesting happens.

**Aaron Francis:** And then we're gonna add one for document rendered, and that's after it comes out as HTML. So we're gonna, we're gonna run this one last. So after everything else has been parsed, we wanna grab a hold of it, and then we're gonna run this one. Um, we're gonna give this a little bit higher priority. So after everything has been rendered, then we're gonna run our guy. So let's create these.

**Aaron Francis:** Public function on parsed. I think that accepts something, but I don't remember what right now. Public function on document rendered. Um, add event listener. Actually don't remember how to find this. I bet this will tell me if the signatures mismatch. Um, no, it doesn't yet, but that's okay. So if we say DD here, great.

**Aaron Francis:** We are here. So here's the theory here. We're gonna walk the document as an AST, look for code nodes, pull them out, leave a UUID, render that document or parse that document through Blade, and then put the code nodes back in. That should keep us safe from running Blade over content that is actually supposed to be just a code block. So I think I remembered what goes here.

**Aaron Francis:** We have the document parsed event, I believe. So if we dump out the event and we hop over here, there's the document parsed event, and we have the document. That is what we're looking for. So we'll say event, get document iterator, and I think that's as node. So then if, uh, we'll do for each as node, and then we do dump node.

**Aaron Francis:** And is that right? Yes. We have the first, uh, we have the first... Let's just dump them all out, see what we're working with here. Hmm. I didn't really like that. Yeah, that's gonna be too much. So if we say, uh, if this instance, uh, we'll just say is code node, node. Then if not, uh, continue.

**Aaron Francis:** If so, something. Oh, man, that was, that was bad. Something. So hop down here, and we'll say protected function is code node, node. And we wanna return node instance of fenced code or, uh, node instance of, what's another one?

**Aaron Francis:** Indented code or node instance of, uh, inline code. Inline code. Maybe just code. Is that right? Yeah, inline code. Cool. All right. Those are the three types of blocks that could contain code. We're gonna pull it out and leave a UUID instead. Let's do that. Let's generate our UUID.

**Aaron Francis:** ID equals string UUID to string. Great. And now we're gonna say replacement equals, uh, new HTML block, HTML block type six. We're just gonna leave a block element in there, and we're gonna set the literal content to, uh, what do you wanna say? Let's just make up some sort of, um, replacement ID.

**Aaron Francis:** It doesn't matter. We know what we're looking for. And we'll say node replace. Um, I think let's just tell it that, uh, node is fenced code. That's close enough. And we'll say, is it replace with? Yes, it is replace with our replacement. And now if we hit this back in the browser, here we go.

**Aaron Francis:** Now we've pulled out every single code block, including inline code blocks, and we've left a UUID in its place. I do wanna go ahead and render those code blocks before we stash them away. Um, so let's come up here and let's say, uh, public rendered. Equals this, and I think it's probably gonna want me to make that an array.

**Aaron Francis:** That's fine. I'm okay with that. And we'll say that this rendered, uh, ID equals, I think it's new HTML renderer. Not that one. Renderer? Common Mark Renderer. And what does it accept? It accepts an environment. So we need to stash the environment at the top, which we can do.

**Aaron Francis:** So while we're in our register, we can say that this environment equals environment. So what we're doing is we're just stashing that environment, and we're saying, "I am gonna use that later because you didn't give that to me down there." So if we are gonna be a good type boy, let's be a good type boy. Environment, uh, that one probably.

**Aaron Francis:** Great. So we're gonna pass the environment into this HTML renderer, and let's see what affordances we have here. Render nodes as an interval, and that's fine. We'll just pass in our node. So let's just go ahead and dump that out and see what that actually looks like before we think that we've done the right thing.

**Aaron Francis:** Hey, there you go. Syntax highlighted by torchlight.dev. So what we did is we took that code node out, and we ran it through the rest of all of the renderers, and then we stashed it away as a public property on this class, and we'll put it back later. So we're getting pretty close. We can get rid of this, and that is all we need to do in the parsed event. Now we need to come back to the rendered event, and we'll say that this accepts a document rendered event, event, and what does this give us?

**Aaron Francis:** Event, get output. Huh, that seems pretty nice. Let's see if we're actually here first, make sure that we're all working. Yep, that's there. And let's dump this out. So that gives us a... Whoa, that gives us a rendered content, but this, that's what we're looking for right there. We're looking for the content, and you can see our placeholders are in there.

**Aaron Francis:** So that is pretty close. So it looks like the output gives us a rendered content, so rendered content get, uh, yeah, that's probably right. So content equals that, and then we're gonna run, uh, Blade render that content. And so now content equals Blade render that content. So everything, uh, everything that we've written in markdown is now going to be rendered.

**Aaron Francis:** So that's a pretty good start. And what can we do here? Event, replace output. That's great. Replace output, what does it need? A rendered content interface. Um, new rendered content? Hey. Document and string. So we're gonna take the event, get document, uh, get output, get document.

**Aaron Francis:** Great. And our new string is content. So what we've done, we have listened to that event. Uh, sometimes it's random how I format, but it's always very good. We have listened to this document rendered event. We've pulled the content off of it, which is HTML at this point. We've rendered that HTML through Blade.

**Aaron Francis:** Remember that we removed the, uh, code blocks before. And now we're saying, "Hey, I've got new output for you." The new output is the same document. However, here's the new content. So if we hit this in the browser, we'll see... Nice. We're kinda back to where we started, except if we go back to the actual markdown, and we come up here, and we remove that guy.

**Aaron Francis:** Now look. Now we have a Blade component. In fact, what's wild is you have all of Blade. So instead of rendering curly braces one, it just rendered the one, 'cause now we are running Blade over this entire thing. Of course, the last thing we need to do is we now need to swap our code blocks back in for those UUIDs. And honestly, that's pretty easy. So we need to do that after the Blade has been rendered.

**Aaron Francis:** So we'll say for each, this rendered as ID and content. Remember, we rendered the code blocks up here, so it's already run through the syntax highlighting and everything. Not as content. That's a bad idea. As ID and rendered, that's probably a better idea. Um, and then down here, we're gonna say content equals string replace, search for search, replace replace on content.

**Aaron Francis:** So we need to build up an array of search and an array of replace. And what is our little shorthand? We did this, replacement. Uh, I kinda like replace better. Replace. So that's what we're searching for. So we can say that search equals, uh, this guy.

**Aaron Francis:** But in fact, sometimes markdown is weird, and it just does it like this, and I don't, I don't like it when it has these extra paragraph tags. So we're gonna add two. Search equals that, and search equals that. So we'll, we'll replace it if markdown wrapped it in paragraph tags or if markdown didn't wrap it in paragraph tags. And so we have the equal number replace equals, uh, rendered and replace equals rendered.

**Aaron Francis:** Now, this should be-- We can just dump that out. Search and replace. So if we hit that, there's all of our search. We're searching for all of those IDs, and we're replacing it with the actual rendered code. So you can see some are Torchlight, and some are just inline code blocks. And that feels right to me.

**Aaron Francis:** There you go. We've pulled the code blocks out. We've rendered the entire document and then passed it through Blade, and then we've put the code blocks back in, and we're pretty safe. So what we're safe from here, what we're safe from here is writing valid Blade in code blocks. That's not gonna mess us up. What we're not safe from is users writing valid Blade in their Markdown, 'cause like we looked at, it's gonna render valid Blade in Markdown.

**Aaron Francis:** So again, you could set up your static flag to say allow for the next document or don't allow for the next document. That's fine. But now you've seen the two different ways that we can do this. The last thing I'm gonna show you is, um, using Markdown to, I don't even... May- may- maybe enforce some business best practices. Like, maybe it would be a good thing to put a newsletter sign up in the middle of your articles.

**Aaron Francis:** That sounds like a good idea. Maybe it would be a good thing to, um, say, "Hey, I've got more articles like this. You should click here to read them." Sounds like a good idea. Maybe it would be a good idea to, like, advertise your course in the middle of one of your articles. Are you gonna do any of that? Probably not. But what if the computer did it for you? So I'm gonna show you how I write a, um, an advertisement for Torchlight and put it underneath the code block automatically, and then I'll show you how you can add a newsletter subscription form above a header and do it automatically.

**Aaron Francis:** First thing we need to do is we need to create a new extension. We're pretty good at this by now. We'll call this one the TorchlightAdExtension, and we will say that this implements the extension interface. I think that's all we need here. And let's hop back over here, and we'll say TorchlightAdExtension. And all right, let's get started.

**Aaron Francis:** The only thing we're gonna do here is we're gonna say environment.AddEventListener for the DocumentParse event. And what do we wanna do? We wanna handle it with this onDocumentParse. So we're gonna stay in this class, and we'll just do a public function onDocumentParse, and that receives the DocumentParse event, and we're gonna hop down here.

**Aaron Francis:** Now, what we're gonna do, we are going to do the same thing we've already done. We're gonna loop through here, event.getDocumentIterator as node, and we're gonna check to see, in this case, we're gonna check to see only if it's a FencedNode. So if not instance, instance of... Whoops. If not node instance of FencedCode, then just continue.

**Aaron Francis:** Otherwise, if it is an instance of a FencedCode, what do we wanna do? Let's create a new ad block. Let's just call it ad. I like the one word. Ad = new HTMLBlock, and we'll say it's an HTMLBlock6, BlockElement. And the ad, we will set literal of, "Hey, check out Torchlight." That seems good.

**Aaron Francis:** Now, this node is a FencedCode at this point, so we can just say, uh, node is FencedCode, and that will give us the hints that we need. Node, I think it's insert. Let's do insertAfter, and we're gonna insert our ad after the FencedCode block, and let's see what that did.

**Aaron Francis:** Um, that didn't do anything. Oh, sure it did. "Hey, check out Torchlight." It kind of worked. That's exactly what we're looking for. It added the HTML after the code block, and it added it after every code block, which is a little much. Let's fix that real fast. So instead of adding it after every block, let's come up here, and let's just put a, um, let's just say public count = 0.

**Aaron Francis:** And here we'll say this, uh, count++, and if we... Let's do, um... What do you wanna say? Let's say if this count is not equal to one and this count is not equal to, pick a random number, six, that seems good, then continue.

**Aaron Francis:** Otherwise, add this. And I'm gonna make this HTML a little bit prettier. Um, gonna add a bunch of Tailwind and add an actual, like, hey, the code was highlighted by this. So then we can put the HTML in there. So now what we're doing is we're gonna continue to loop through incrementing the count each time. If the count is not one or the count is not six, and I don't know, and the count is not six, then carry on.

**Aaron Francis:** Otherwise, put this ad in there. Let's take a look at this ad now. Code highlighting powered by torchlight.dev. So that is block one, two, three, four, five, six. Code highlighting powered by torchlight.dev. Now, that's on every single post that I have ever created, and I didn't have to do a single thing, right?

**Aaron Francis:** Let's look at how we can add this to maybe right before your second H2 or something. This is probably a more applicable use case. We're gonna actually look for headings, headings instead of FencedCode blocks, and we're actually only gonna look for, uh, H2s. So we'll say getLevel not equal to.

**Aaron Francis:** Then in that case, continue on. So now we're looking for headings, and that level of the heading needs to be level two, and that means we found one. And let's say, um, we actually only wanna put it before the second one. We don't wanna put it before the first H2. And that will be the case there. Now we're in a good spot down here where it can infer that that is a heading.

**Aaron Francis:** And right here, instead of saying that, we can say, "Please sign up for my newsletter. It is very good." And we'll make that, uh, what do you wanna do? We'll make that text large. Get rid of that, and get rid of that. Add a P4. None of this matters. Add a P4 and a BG gray 800.

**Aaron Francis:** Um, yep, that seems pretty good. Now, instead of inserting after the H2, which would feel weird, we can just say insertBefore H2. And if we check the browser, and so this is the first-- Let's just look for it. Please sign... There you go. So now we're all the way down here. This is the second H2, parse only code blocks.

**Aaron Francis:** Here it is right here. And I can say, "Please sign up for my newsletter. It is very good." Now, this is good, right? Uh, it's, it's not great. I would design it a little better. This is good, but the best part is this is on every single article now. So if you're doing something, um, you know, please sign-- Please go watch my latest video on YouTube, and you can link to that.

**Aaron Francis:** So now every time, every time you have something that should go on every single article and maybe in the middle of the article or maybe you wanna do something special with images, you can walk these ASTs. You can parse this Markdown, walk through it, and do whatever you want across everything on your site for fun and for, hopefully, profit. I hope you enjoyed this. Let me know what you think.

**Aaron Francis:** I'll talk to you next time. See ya.

---

## Related on aaronfrancis.com

- [Static site generators & personal websites](/podcast/static-site-generators-personal-websites-knj6zl) *(Podcast · 2023-12-14 · shared: blade rendering, commonmark)*
- [Rendering Blade components in Markdown](/writing/rendering-blade-components-in-markdown) *(Article · 2023-11-30 · shared: blade components, commonmark)*
- [Blogging with markdown in Laravel](/writing/blogging-with-markdown-in-laravel) *(Article · 2021-04-08 · shared: commonmark, markdown extensions)*
- [Hammerstone, a History](/podcast/hammerstone-a-history-2f8ad77f) *(Podcast · 2021-09-17 · shared: commonmark)*
- [Fixing images on Laravel Vapor with League\Commonmark](/writing/fixing-images-on-laravel-vapor-with-leaguecommonmark) *(Article · 2021-07-20 · shared: commonmark)*

## Relevant Resources from Aaron Francis

- **[Solo](https://soloterm.com)** (overview on site: [/software](/software)): All-in-one agentic development platform and terminal workspace built by Aaron Francis for orchestrating processes and AI coding agents.

## Search aaronfrancis.com (2-Hop Static Keyword Index)

Pick the alphabetical shard matching any topic to find exact pages across all articles, newsletters, videos, talks, and podcast transcripts (every shard is < 40 KB):
[A-B](/llms/keywords/a-b.txt) · [C](/llms/keywords/c.txt) · [D-E](/llms/keywords/d-e.txt) · [F-G](/llms/keywords/f-g.txt) · [H-J](/llms/keywords/h-j.txt) · [K-L](/llms/keywords/k-l.txt) · [M-N](/llms/keywords/m-n.txt) · [O-P](/llms/keywords/o-p.txt) · [Q-R](/llms/keywords/q-r.txt) · [S](/llms/keywords/s.txt) · [T-Z](/llms/keywords/t-z.txt) · [Directory](/llms/keywords.txt) · [Site Map](/llms.txt)

Shards for this page's topics: `markdown extensions` ([M-N](/llms/keywords/m-n.txt)), `blade components` ([A-B](/llms/keywords/a-b.txt)), `laravel markdown` ([K-L](/llms/keywords/k-l.txt)), `commonmark` ([C](/llms/keywords/c.txt)).

## About Aaron Francis (Current Context)

Aaron Francis is VP of Marketing and Community at [Laravel](https://laravel.com), founder of [Try Hard Studios](https://tryhardstudios.com), creator of [Solo](https://soloterm.com), co-host of [Mostly Technical](/podcast), and author of [Mastering Postgres](/courses), [High Performance SQLite](/courses), [MySQL for Developers](/courses), and [Screencasting.com](/courses). Full bio: [/about](/about) · Current focus: [/now](/now).
