M
M
msdoc112021-01-08 15:04:57
Markdown
msdoc11, 2021-01-08 15:04:57

How to display post image in markdown vue js?

How to display link to post image in markdown vue js

<div class="post-list">
    <hr class="line" />
    <p class="date" v-html="post.date" />
    <h3 class="title" v-html="post.title" />
    <img src="Вывести ссылку поста здесь" />
    <p class="description" v-html="post.description" />
    <b>{{ post.timeToRead }} min read</b> &nbsp;
    <g-link :to="post.path" class="read"
      >Read More
      <span class="visuallyhidden">about {{ post.title }}</span></g-link
    >
  </div>


this is what post.md looks like
---
title: "Название поста"
description: "Краткое описание поста"
date: 2019-05-23
image: "Ссылка на изображение поста"
---

Здесь текст поста

How to implement it correctly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2021-01-08
@AndrewRusinas

Use a plugin for Markdown.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question