Markdown Media Card

by Zhou Hua
5
4
3
2
1
Score: 24/100

Description

The Markdown Media Card plugin allows users to create visually appealing media information cards directly in Markdown within Obsidian. These cards can display information about books, movies, music, and other media types, including titles, cover images, ratings, authors, and more. Users can configure card parameters such as card width, introduction text, and additional custom fields.

Reviews

No reviews yet.

Stats

21
stars
2,880
downloads
3
forks
794
days
507
days
783
days
1
total PRs
1
open PRs
0
closed PRs
0
merged PRs
4
total issues
3
open issues
1
closed issues
19
commits

Latest Version

2 years ago

Changelog

README file from

Github

Obsidian Markdown Media Card Plugin

GitHub Release GitHub Downloads (all assets, all releases)

About

This is a plugin for Obsidian that allows you to insert media information cards in Markdown, such as Douban books, music, movies, etc.

This project was inspired by hexo-douban-card and references the design and implementation of the card style. However, it does not have the ability to fetch Douban information. Instead, it allows users to freely configure the content displayed on the card, which can be completely unrelated to Douban.

This Obsidian plugin is a wrapper for the Remark Media Card. Please refer to Remark Media Card for more information.

Installation

Search Markdown Media Card in community plugins.

Examples

```media-card
type: book
url: https://book.douban.com/subject/35984787/
title: Blindness Chronicles
cover: https://img3.doubanio.com/view/subject/s/public/s34269503.jpg
publishDate: 2022-08-27
author: 若泽·萨拉马戈
rating: 9.1
width: 600
introduction: |-
  街上出现了第一个突然失明的人,紧接着是第二个、第三个……
  一种会传染的失明症在城市蔓延,无人知晓疫情为何爆发、何时结束。
  失明症造成了前所未有的恐慌与灾难,一批又一批感染者被集中隔离。
  食物短缺,组织崩溃,文明与尊严变得不堪一击。
  人们逐渐剥离道德的外衣,陷入比失明更绝望的苦难境地。
  在这些人中,只有一个女人还能看见。
  她的眼睛,是这个疯狂的世界里唯一尚存的理智。
```

```media-card
type: music
url: https://music.163.com/#/song?id=19292984
title: Love Story
cover: https://p1.music.126.net/GZERNplXUdzTPkKqo2F4tA==/109951169217536854.jpg
artist: Taylor Swift
width: 600
```

```media-card
type: movie
url: https://movie.douban.com/subject/35267208/
title: 流浪地球2
cover: https://img9.doubanio.com/view/photo/s/public/p2885842436.jpg
director: 郭帆
actors: 吴京 / 刘德华 / 李雪健 / 沙溢 / 宁理
publishDate: 2023-01-22
rating: 8.3
introduction: |-
  在并不遥远的未来,太阳急速衰老与膨胀,再过几百年整个太阳系将被它吞噬毁灭。为了应对这场史无前例的危机,地球各国放下芥蒂,成立联合政府,试图寻找人类存续的出路。通过摸索与考量,最终推着地球逃出太阳系的“移山计划”获得压倒性胜利。人们着手建造上万台巨大的行星发动机,带着地球踏上漫漫征程。满腔赤诚的刘培强(吴京 饰)和韩朵朵(王智 饰)历经层层考验成为航天员大队的一员,并由此相知相恋。但是漫漫征途的前方,仿佛有一股神秘的力量不断破坏者人类的自救计划。看似渺小的刘培强、量子科学家图恒宇(刘德华 饰)、联合政府中国代表周喆直(李雪健 饰)以及无数平凡的地球人,构成了这项伟大计划的重要一环……
width: 600
```

Usage

Markdown Syntax

For example, in this sample:

```media-card
type: music
url: https://music.163.com/#/song?id=19292984
title: Love Story
cover: https://p1.music.126.net/GZERNplXUdzTPkKqo2F4tA==/109951169217536854.jpg
artist: Taylor Swift
width: 600
```

We expand the markdown code block syntax, defining media-card as the identifier for the media information card, and then inputting the card information in yaml format within the code block. For details on the parameters that can be configured in YAML, please refer to Parameters

Parameters

Parameter Required Type Description
type Yes string Type, currently supports movie, music, book
url No string Link the card redirects to, e.g., Douban introduction page or music playback page. If not set, clicking the card will not redirect
title Yes string Media name (book title, music title, movie title, etc.)
cover Yes string Cover image, web url(https://...) and obsidian vault path(../folder/xx.jpg or folder/xx.jpg) are supported
introduction No string Introduction, can be multi-line text, but only the first 3 lines will be displayed on the card
width No number Card width in pixels, defaults to full width if not set

Additionally, if users want to add some custom information, they can directly add it in YAML format as key: value pairs (value supports HTML tags). All content other than the parameters mentioned in the table above will be rendered, for example:

```media-card
type: music
title: Love Story
cover: https://p1.music.126.net/GZERNplXUdzTPkKqo2F4tA==/109951169217536854.jpg
歌手: Taylor Swift
专辑: <a href="https://music.163.com/#/album?id=1770438" target="_blank">《Fearless》</a>
width: 600
```

The rendered result is shown below:

Singer and Album are two custom fields, and the value of Album is a link that redirects to the album page when clicked.

My Other Obsidian Plugins

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Relay
2 years ago by System 3
Multiplayer Mode for Obsidian
Timeline
5 years ago by George Butco
Obisdian.md plugin for creating timelines
Show Current File Path
5 years ago by Ravi Mashru
Obsidian plugin to show the file path of the current file in the status bar
Discord Rich Presence
6 years ago by Luke Leppan
Update your Discord Status to show your friends what you are working on in Obsidian. With Discord Rich Presence.
Search on Internet
5 years ago by Emile
Add context menu items in Obsidian to search the internet.
Workbench
6 years ago by ryanjamurphy
A plugin to help you collect working materials.
Regex Pipeline
5 years ago by No3371
An Obsidian plugin that allows users to setup custom regex rules to automatically format notes.
Mxmind Mindmap
2 years ago by mxmind
mxmind for obsidian plugin
Lineage
2 years ago by ycnmhd
Gingko-like interface in obsidian
Hide Sidebars on Window Resize
5 years ago by NomarCub, Michael Hanson
A simple Obsidian plugin to hide the sidebars when the window gets narrow.
Prompt ChatGPT
2 years ago by Coduhuey
Discordian Theme
5 years ago by @radekkozak
Discordian plugin for tweaking Discordian theme
Markdown Furigana
5 years ago by Steven Kraft
Simple Markdown to Furigana Rendering Plugin for Obsidian
Electron Window Tweaker
5 years ago by mgmeyers
AI Tagger
2 years ago by Luca Grippa
Simplify tagging in Obsidian. Instantly analyze and tag your document with one click for efficient note organization.
Youglish
5 years ago by Noureddine Haouari
Use YouTube to improve your pronunciation. YouGlish plugin gives you fast, unbiased answers about how words is spoken by real people and in context.
Dangerzone Writing
5 years ago by Alexis Rondeau
A plugin that forces you to write for X seconds. If you pause for more than 5 seconds, everything you've written in this note is DELETED.
PF2e Statblocks
2 years ago by Tyler Pixley
Allows Obsidian to render Pathfinder 2e statblocks cleanly, using only Markdown-based syntax.
Add links to current note
6 years ago by MrJackphil
This plugin adds a command which allows to add a link to the current note at the bottom of selected notes
Footlinks
5 years ago by Daha
Obsidian plugin that extracts urls from the main text to footer, offering a better reading/editing experience.
Antidote Grammar Checker Integration
3 years ago by Heziode
An Obsidian integration of Antidote, a powerful grammar checker
NetClip
a year ago by Elhary
this plugin is for Obsidian that allows you to browse the web and clip webpages directly into your vault.
Ego Rock
2 years ago by Ashton Eby
An obsidian plugin that implements a basic taskwarrior UI for listing and modifying tasks.
Readwise Community
5 years ago by renehernandez
Sync Readwise highlights into your obsidian vault
Canvas Mindmap Helper
2 years ago by Tim Smart
Nexus AI Chat Importer
2 years ago by Superkikim
Tab Panels
a year ago by GnoxNahte
Create tab panels to organize content into sections
Title index
5 years ago by renmu123
markdown_index is an extension that can add serial numbers to your markdown title.
S3 Image Uploader
3 years ago by jvsteiner
This project implements an image uploader, similar to others offered by the community, with one important difference: you can provide your own s3 based storage, instead of relying on a third party service, such as imgur.
Link indexer
5 years ago by Yuliya Bagriy
Another Sticky Headings
2 years ago by Zhou Hua
Augmented Canvas
2 years ago by Léopold Szabatura
Supercharge your Obsidian canvas experience with AI features.
Notes dater
3 years ago by Paul Treanor
Adds created_on and updated_on dates of the active note to status bar
Adjacency Matrix Maker
5 years ago by SkepticMystic
Creative an interactive adjacency matrix of your Obsidian vault
Yesterday
2 years ago by Dominik Mayer
Obsidian plugin providing Yesterday journaling support
JavaScript Init
5 years ago by ryanpcmcquen
Run custom JavaScript in Obsidian.
oblogger
3 years ago by loftTech
tag explorer and frontmatter logger plugin for obsidian
Open cards in imdone.
5 years ago by saxmanjes
Open cards in imdone from obsidian
Quadro
2 years ago by Chris Grieser (aka pseudometa)
Obsidian Plugin for social-scientific Qualitative Data Analysis (QDA). An open alternative to MAXQDA and atlas.ti, using Markdown to store data and research codes.
BookFusion
2 years ago by BookFusion
BookFusion Obsidian Plugin
Text Wrapper
3 years ago by smx0
Plugin for Obsidian
Mochi Cards Exporter
5 years ago by kalbetre
Mochi Cards Exporter Plugin for Obsidian
Image to text OCR
2 years ago by Dario Baumberger
Convert a image in your note to text.
InlineCodeHighlight
3 years ago by Dimava
Metadata Icon
2 years ago by Benature
change metadata entry icon
Plugin Reloader
2 years ago by Benature
manual reload plugins
simple-sketch
2 years ago by Yoh
an Obsidian plugin to create minimal sketches
Julian Date
5 years ago by thek3nger
Plugin for Obsidian to add the current Julian Date for astronomical observations
Alias Management
2 years ago by WithMarcel
Identify duplicate notes based on similar aliases and filenames in Obsidian.
Movie Search
2 years ago by Gubchik123
Obsidian plugin to help you create movie notes.
Expiration-Date-Tracker
3 years ago by Marius Wörfel
Opsidian plugin to keep track of all expiration dates, for example, for your groceries.
Hoarder Sync
a year ago by Jordan Hofker
An Obsidian.md community plugin that allows syncing with https://karakeep.app/
Definition List
2 years ago by shammond42
Obsidian.md plugin to add HTML definition list support.
Seafile
2 years ago by conql
Update Time
2 years ago by Sébastien Dubois
Obsidian plugin that updates front matter to include creation and last update times
KeepSidian
2 years ago by lc0rp
Filtered Opener
2 years ago by Roman Kubiv
Sets of notes defined by filters to open notes.
Track-a-Lot
2 years ago by Iulian Onofrei
This is a tracker plugin for Obsidian
Hugo codeblock highlight
2 years ago by aarol
Highlights lines in code blocks using Hugo's hl_lines syntax
Auto Definition Link
2 years ago by Nolan Carpenter
This is a plugin for Obsidian to automatically create links to blocks in your vault
PARA Workflower
2 years ago by KevTheDevX
Helpful commands for starting and working in your vault with the PARA method.
Gitlab Wiki Exporter
2 years ago by Josef Rabmer
Duplicate Detector
a year ago by David Alcalde
Obsidian plugin to detect and highlight duplicate lines in the active file
Hash Pasted Image
2 years ago by Minh Vương
Auto rename pasted images added to the vault via hash algorithm SHA-512
Canvas LMS Task Importer
2 years ago by jordaeday
Imports assignments from Canvas LMS as tasks in Obsidian
Orion Publish
2 years ago by Sean Collings
Immich
2 years ago by Talal Abou Haiba
Tokenz
2 years ago by Ferenc Moricz
Use any kind of short codes in Obsidian! Comes with a map for smileys (:), ;), ...) and one for emojis (:smile:, :wink:, ...).
My Thesaurus
a year ago by Mara-Li
A plugin that auto tags file based on contents and a csv file or a Markdown table (inspired by https://github.com/pmartinolli/MyThesaurus)
Tencent COS for Imgur
a year ago by bobostudio
🔥 Obsidian 腾讯云 COS 图床插件
ImgBB Uploader
2 years ago by Jordan Handy
An image uploader to imgBB for Obsidian
Suggest Notes
2 years ago by Doggy-Footprint
Clojure Plugin Host
a year ago by Vladimir "farcaller" Pouzanov
A Clojure plugin host, allowing the creation of simple Clojure-based plugins right inside Obsidian