"Life is a mountain of solvable problems, and I enjoy that."
-James Dyson
See resume online @ https://yeikiu.github.io or download the PDF version
✍️ Minimal config Vue3 + Markdown + Bootstrap blog engine
Home Page: https://yeikiu.github.io/vue3-md-blog
License: Creative Commons Zero v1.0 Universal
"Life is a mountain of solvable problems, and I enjoy that."
-James Dyson
See resume online @ https://yeikiu.github.io or download the PDF version
I realized that the dist was not automatically building on push to master, and upon further investigation it turns out I needed to release
. It's my first time doing so, so I might be handling it incorrectly.
Steps to reproduce:
Errors:
Upon looking at my workflow, it seems dist is not created because it fails at the below:
Run rm -rf .ci_badges
npm WARN exec The following package was not found and will be installed: [email protected]
✔️ msoup-blog v3.1.9: Badges updated successfully!
# version 3.1.9
# dependencies 8
# devDependencies 8
HEAD detached at v0.1.2
nothing to commit, working tree clean
Error: Process completed with exit code 1.
Would someone be able to provide any hints?
I have a feeling that HEAD detached at v0.1.2
is probably a big hint, but I'm unsure why this is happening.
Hi there, it looks like the template says that syntax highlighting is supported, but I'm not finding a way to implement it.
The markdown-it documentation suggests that we need to wrap our markdown with
'highlight.js'.
I found this solution which involves adding rules to nuxt.config, but this project doesn't seem to use nuxt.
The markdown-it documentation also provides this example
var hljs = require('highlight.js'); // https://highlightjs.org
// Actual default values
var md = require('markdown-it')({
highlight: function (str, lang) {
if (lang && hljs.getLanguage(lang)) {
try {
return hljs.highlight(str, { language: lang }).value;
} catch (__) {}
}
return ''; // use external default escaping
}
});
However, the way that the template imports the markdown looks like this
const markDownIt = new MarkdownIt({ html: true }).use(emoji)
const postHtml = markDownIt.render(markDownSource)
How would I wrap the postHtml with the highlighter and subsequently apply the github hightlighting rules to it?
Hi, is it possible to specify custom vue components in the markdown file that will be rendered afterwards? e.g. <my-button>Hi</my-button>
will then become <a class="btn">Hi</a>
as html element
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.