Giter VIP home page Giter VIP logo

obsidian-media-grid's Introduction

Media Grid

An Obsidian snippet

Skip to installation instructions โ†“

Note

This is a generic snippet that I intended for use with any Obsidian theme. The idea was heavily inspired by Stephan Ango's Minimal theme which incorporates this same kind of grid functionality. You can find him @kepano on Twitter or buy him a coffee ๐Ÿ‘‡ to show your support.

Introduction

Media Grid gives you more control over the way your linked content is rendered in Obsidian. Add more meaning and visual interest to your documents by grouping sets of images, videos, or even audio tracks into grid layouts.

Creating a new grid is as easy as placing two or more image links next to each other in your markdown document. Below you can see the result of three links.

Screenshot showing a basic image layout

Want to start a new row? Just put an empty line between your links. Below you can see the result of two groups of links separated by an empty line. ๐Ÿ˜Ž

Screenshot showing how it works

Awesome for throwing together a quick moodboard or collecting ideas for your next project.

Screenshot showing a collection of ideas

It works with audio and video files too!

Screenshot showing audio and video layouts

Make it yours

Media Grid looks great out of the box but can be further configured to your liking through the Style Settings Plugin (not required).

Screenshot showing Media Grid settings panel

Installation

NOTE: This snippet requires the latest version of Contextual Typography.
If you already have the latest version of Contextual Typography:

  1. Download media-grid-snippet.css from this repo.
  2. Open the settings panel in Obsidian and click the Appearance tab.
  3. Scroll to "CSS snippets" and click the folder icon.
  4. Drop media-grid-snippet.css into the folder that appears.
  5. Now back in Obsidian, next to "CSS snippets", click the "Reload snippets" button.
  6. You should now see media-grid-snippet in the list. Toggle it on and you're ready to go! ๐Ÿฅณ

Feedback

If you run into any issues or have suggestions feel free to submit a GitHub issue or send me a message @zremboldt on Twitter. I'll respond as soon as I can. ๐Ÿ‘

Support

No pressure whatsoever but if you enjoy Media Grid and would like to support its development you can buy me a coffee. Thank you! ๐Ÿ˜„

obsidian-media-grid's People

Contributors

zremboldt avatar

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.