mini-ssg
markdown-it
mini-ssg | markdown-it | |
---|---|---|
11 | 55 | |
3 | 17,174 | |
- | 1.0% | |
0.0 | 8.5 | |
over 1 year ago | about 1 month ago | |
JavaScript | 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.
mini-ssg
-
Publishing a project to npm
#issue-23
-
How I Set Up GitHub Actions for a Python Project
Luckily, my newly added test case didn't fail the CI workflow, so my PR got merged eventually.
-
Adding Continuous Integration with GitHub Actions 🛠
There are different options to set up GitHub Actions. You can either choose to do it manually or choose from numerous templates. My project, MINI, works just fine with the Node.js template:
-
Prototype: Markdown and static assets support for SSG 🛠
With the features in mind, I began by creating an issue on my repo, detailing what I needed to do, and providing suggestions or resources to help me accomplish it. Implementing the code was not too difficult, and I realized that I could add more features to improve my SSG. After being satisfied with how the markdown support works, I began editing the issue to include support for static assets. It is a nice feature to have in my project, as I think images and favicons are common in most web pages today.
-
Refactoring & Rebasing
My project 💻: mini-ssg Rebase commit 📝: f42e5b6
-
Working with git remote - approving new feature
This week, I decided to work with Luke to implement the new feature of adding support for config file to his SSG tool. The implementation didn't take much time since his code is very clear and doesn't have any major bugs to worry about. With the new feature, the tool now accepts config JSON file when option --config is used. This option will read the config file and generate HTML files based on the options provided within the file, and ignore all other options passed in from the command line. After some modifications, he agreed to merge my pull request
-
Branches and merges
In my static site generator, MINI, I decided to implement 2 new features and created different branches for each of them:
-
OSD600 - Contributing To Other Repo
I decided to work on Minh Quan's repo in this lab and implemented Heading1, Heading2 and Links syntax features for his SSG.
-
Getting started with pull requests
Similar to what I did, Vivian also reached me through Slack and asked to review her pull request. While going through the changes that my partner made, I noticed some minor issues. I decided to leave some comments at where they were, explaining how I wanted to change them and included some links for further reading/reference. With the feedback, Vivian quickly fixed the issues and asked me to looked at the code again. Additionally, I asked her to send me on Slack some screenshots of her tests and outputs. After verifying that everything was working as intended, I decided to merge the pull request and not forget to leave her a small token of appreciation.
-
Creating an SSG and working with others
In testing Luke's code, I found that the --version flag did not correctly print the program name. In addition, his program was not able to correctly read file names that contained spaces. Finally, I noticed a formatting issue in the generated html code. Luke used a library called create-html, which made generating the html very simple, but the formatting of the output was a bit messy (for example, incorrect indentation or a lack of spacing).
markdown-it
-
Creating excerpts in Astro
Parse it into HTML using markdown-it
-
Creating an Automated Profile README using Nodejs and GitHub Actions
We can easily use markdown-it, a markdown parser for rendering a mix of JavaScript and plain text into a markdown file. To get started, kindly create a new directory with the following file structure:
-
Construindo um Painel de Blog Dinâmico com Next.js
github.com/markdown-it/markdown-it - markdown biblioteca.
-
Is deep selector still needed?
Recently, I am using markdown-it. Due to the nature of Vue and virtual DOM. You cannot style style inside v-html with scoped style. The only solution for me is global css and deep selector. I choose the latter
-
Implementing collaborative docs
You could probably use markdown-it in your web app to create a notes program where Markdown is used. That tool has lot of plugins. I used it in a small project for myself to test it and it worked like a charm and you can style it so it looks modern. Nevertheless I do not remember if there is a plugin for collaborative writing so users can edit the same file simultaneously but if it does not exist, you can probably work that out by yourself.
-
dd
markdown-it - Markdown parser done right. Fast and easy to extend.
-
Render markdown from a string with Vue components instead of HTML tags
I don't quite get what you mean. I've used [markdown-it](https://github.com/markdown-it/markdown-it) and overwrite its render rule for images, so it returns an NuxtImg instead of an native img tag.
-
So here’s a stupid question: using the chat API, what’s the best way to deal with formatting the results for web?
I've been using markdown-it and highlight.js for code snippets, and so far it's been working pretty great straight out of the box without any other parsing or format prompting
-
Why I love Markdown
It then, gets compiled down to regular HTML by a markdown processor so that the browser can understand it and display it on the screen.
-
How to convert markdown to json in react js
Maybe Markdown It? link
What are some alternatives?
Docusaurus - Easy to maintain open source documentation websites.
marked - A markdown parser and compiler. Built for speed.
mh-ssg
remark - markdown processor powered by plugins part of the @unifiedjs collective
silkie - Static site generator with the smoothness of silk
PEG.js - PEG.js: Parser generator for JavaScript
js-yaml - JavaScript YAML parser and dumper. Very fast.
nearley - 📜🔜🌲 Simple, fast, powerful parser toolkit for JavaScript.
docx-to-pdf-on-AWS-Lambda - Microsoft Word doc/docx to PDF conversion on AWS Lambda using Node.js
Jison - Bison in JavaScript.
strip-json-comments - Strip comments from JSON. Lets you use comments in your JSON files!
obsidian-pandoc - Pandoc document export plugin for Obsidian (https://obsidian.md)