Giter Club home page Giter Club logo

vue3-md-blog's Introduction

JQ

Software Engineer • Senior Full-Stack Developer


"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

vue3-md-blog's People

Contributors

actions-user avatar msoup avatar vycoder avatar yeikiu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vue3-md-blog's Issues

Workflow failing at `Run rm -rf .ci_badges`, maybe I am releasing incorrectly?

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:

  • go to the sidebar in my repository titled "Releases"
  • choose a tag (I chose v0.1.2)
  • publish

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.

How to enable syntax highlighting?

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?

custom vue components

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.