🎨 Mejora presentación de la API en los paquetes
This commit is contained in:
parent
c5330036d6
commit
3690087005
12 changed files with 89 additions and 86 deletions
|
|
@ -24,7 +24,7 @@ impl PackageTrait for HljsSample {
|
|||
|
||||
async fn hljs_sample(request: HttpRequest) -> ResultPage<Markup, ErrorPage> {
|
||||
Page::new(request)
|
||||
.with_component(Snippet::with(
|
||||
.with_component(HljsSnippet::with(
|
||||
HljsLang::Rust,
|
||||
r###"
|
||||
use pagetop::prelude::*;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue