content
PrismJS
Our great sponsors
content | PrismJS | |
---|---|---|
49 | 59 | |
2,958 | 12,011 | |
1.9% | 1.0% | |
9.3 | 0.0 | |
7 days ago | 6 days ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
content
-
Using Nuxt Content: Working with Remote Markdown Files
Nuxt is an appealing framework to work with, partly because of its robust module ecosystem. Popular UI libraries, headless CMS tools, and databases can be easily integrated with a single line of code. Among other third-party modules, Nuxt Image, Nuxt Content, and Nuxt UI are some of the official modules developed by the Nuxt team.
- VitePress 1.0
-
Casidoo on TinaCMS
For reference also in the space of 'website from markdown':
* https://content.nuxt.com/ - JS, SSG and SSR
-
content-wind a good markdown blog to use?
If you want to continue using markdown, nuxt 3 has a module, Nuxt Content - https://nuxt.com/modules/content https://content.nuxtjs.org/
- Can we create a Bend wiki?
- Hello world
-
Currently switching from React to Vue
Nuxt Content is what you’re looking for.
- Dream Jamstack with Nuxt and Storyblok 🚀
-
Crafting my Portfolio - Projects
Then I recalled about Content. It's a file-based Headless CMS which use files of extension .md, .yml, .csv and .json a data layer for the application. And its MDC syntax is cherry on top. So I came with a plan to use .json files to handle project data. Basically, I'll just create a projects section using Content, put my projects in .json files, use the Querying functionality of Content to fetch them and populate the Components as needed.
-
Show HN: Self-hosted CMS on Cloudflare for podcast/blog/images/videos/docs/URLs
I would argue that using something like Nuxt/Content[0]is even simpler. I create a new markdown file in my website’s local repo, write the content and commit if it’s ready for publishing. No need for the FTP step and version control is build in.
This setup is also completely free since the content lives on GitHub and my static site on render.com (but any static site hosting will work).
And since it’s Nuxt based, it automatically also supports more advanced features such as tagging, advanced queries and filtering.
Can only recommend it!
0. https://content.nuxtjs.org
PrismJS
-
My OpenSource Blog that You Can Use Right Now
For Code highlighting, I am using Prism.js. First I am loading the styles file inside the _app.tsx file and inside the CodeBlock component, I am loading the styling that gives us beautiful syntax highlights.
-
Build a simple code editor
Luckily, implementing syntax highlighting in our simple code editor is easy with the use of external libraries. There are several JavaScript libraries available, such as Prism and Highlight.js. For our editor, we'll use Prism since it's easy to use and supports a wide range of programming languages.
-
To learn svelte, I clone Github's issues page including useful features that you might consider reusing.
🌈 Prismjs Code highlighting, use it with Marked
-
Code Reading Docusaurus
I'm trying to implement the new feature in a similar way, but not exactly the same, so my plan is going to modify unwrapMdxCodeBlocks function and apply Prism to highlight the code blocks.
-
GDScript (Godot) syntax highlighting in Obsidian?
Hey all, I've been taking notes as I learn Godot engine, using the Editor Syntax Highlight plugin, but it doesn't show highlighting in edit mode unlike how it does for other languages. I read on a forum somewhere that this plugin/Obsidian uses [PrismJS](https://github.com/PrismJS/prism/issues) for syntax highlighting, which has gdscript on its list of supported languages, yet it doesn't work. Any help would be appreciated thank you!
-
Blog in django
I tend to use https://prismjs.com/ on my blog. On the website you click which languages you want to support (e.g. Python, JavaScript, ...) and get a custom set of CSS and JS files which you load into your template. Code than has to be wrapped in
-
How should i go about making a library to color code (syntax highlighting) a user has written?
Or this one for csharp which is more complex https://github.com/PrismJS/prism/blob/master/components/prism-csharp.js
-
What is the proper language markup type we should use for a MakeFile code snippet?
I believe Obsidian utilizes PrismJS as its default syntax highlighter for code blocks.
-
Sveltekit prismjs
I have a problem with using PrismJS with SvelteKit. I can get the basic languages to work like javascript, but I can't load additional ones using the loadLanguages function, because of the Vite (or at least I think that is the problem). Is there any way to load additional languages highlighting? I am also using tailwind css and flowbite-svelte.
-
Nextra 2 – Next.js Static Site Generator
Prismjs was replaced by Shiki and rehype-pretty-code.
What are some alternatives?
nuxt-mermaid-string - Embed a Mermaid diagram in a Nuxt.js app by providing its diagram string.
Highlight.js - JavaScript syntax highlighter with language auto-detection and zero dependencies.
contentlayer - Contentlayer turns your content into data - making it super easy to import MD(X) and CMS content in your app
tailwindcss-typography - Beautiful typographic defaults for HTML you don't control.
heroicons - A set of free MIT-licensed high-quality SVG icons for UI development.
shiki - A beautiful yet powerful syntax highlighter
astro - The web framework for content-driven websites. ⭐️ Star to support our work!
Tailwind CSS - A utility-first CSS framework for rapid UI development.
preline - Preline UI is an open-source set of prebuilt UI components based on the utility-first Tailwind CSS framework.
Javascript Left-Right Parser - Parser for JavaScript
ace - Ace (Ajax.org Cloud9 Editor)