{"repo":"lxsmnsyc/solid-marked","free":true,"listed":false,"github":"https://github.com/lxsmnsyc/solid-marked","clone":"git clone https://github.com/lxsmnsyc/solid-marked.git","description":"MDX Compiler for SolidJS","language":"TypeScript","stars":70,"topics":["markdown","solid-js"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"solid-marked MDX/Markdown compiler for SolidJS Install Integrations - Unplugin - Vite Using the compiler useMDX and MDXProvider Components generated by solid-marked uses the fundamental components from an MDX provider, this is through the use of useMDX which is imported from the module. By default, useMDX comes from solid-marked and needs to be used in conjunction with Example custom module Features is the top-most component in a Markdown component. It serves as the container for the markdown content. Markdown The following components (and their prop definitions) are derived from mdast [!NOTE] Presence of a allows the Markdown component to generate a . and Ordered lists Unordered lists js highlight-line=\"2\" foo() bar() baz() Must be have an associated . Must be have an associated . Github-flavored Markdown Based on Github-flavored Markdown Must have an associated , and MDX solid-marked supports MDX, with three compilation modes for the HTML/JSX expressions based on the noDynamicImports option for the compiler. Let's take this example code: - if set to true , the output JSX will not use SolidJS' component and instead outputs the target JSX component directly to the markup. - if set to false , the output will use . If an HTML or JSX expression is encountered, the element will be checked if it's not declared, in which it will use its counterpart component from useMDX , otherwise it will use the component/element directly. - if set to only-mdx , is only used for builtin component","default_branch":null,"files":null,"tree":[],"storefront":"/r/lxsmnsyc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lxsmnsyc/solid-marked/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}