+
Skip to content

somangshu/codeblock-widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code block widget

This widget allows you to render code with correct syntactical representation.

Property type Description Default
code string The code to be formatted or displayed -
language string The language in which the code is written. Supported values => 'bash', 'c', 'clojure', 'cpp', 'csharp', 'dart', 'elixir', 'elm', 'erlang', 'fsharp', 'graphql', 'go', 'groovy', 'haskell', 'html', 'java', 'javascript', 'jsx', 'julia', 'kotlin', 'lisp', 'makefile', 'matlab', 'objectivec', 'ocaml', 'php', 'python', 'r', 'ruby', 'rust', 'scala', 'sql', 'swift', 'tsx', 'typescript', 'javascript' text
showLineNumbers boolean Indicates whether to show line numbers true
wrapLines boolean If true, wrap long lines true
theme string To style you code block. Supported values => dracula, github, nord, rainbow dracula

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载