Contenu v1.0.0

Bloc de code

Affichage de code avec coloration syntaxique, en-tête de nom de fichier optionnel et fonctionnalité de copie dans le presse-papiers.

Aperçu et code

Options

Nom Type Par défaut Description
code * String requis The code content to display
language String "text" Programming language for syntax highlighting (e.g., "ruby", "javascript")
filename String nil Optional filename to show in header
show_copy Boolean true Whether to show the copy button
class String "" Additional CSS classes to apply

Journal des modifications v1.0.0

- Initial release with syntax highlighting
- Copy to clipboard functionality
- Optional filename header

Obtenir l'accès complet

Débloquez le code source de ce composant et de tous les autres. Paiement unique pour un accès à vie.

Obtenir l'accès maintenant