Ever wanted to know how noice
creates the cmdline or wanted your own one?
No one? Guess it's just me π₯².
Anyway, this post is a simple tutorial for creating a basic cmdline in neovim.
/* | |
This DataviewJS View helps to add functionality to a Dataview Table. | |
THIS IS A BETA RELEASE - there are bugs and its not feature-complete | |
Version: v0.6.0 | |
Given a Dataview Query, this view will | |
- Execute the query | |
- Extract the headers/columns of the result | |
- Render filters to adjust the Dataview table results | |
- Render the table results, filtering and re-rendering on filter changes |
let pages = dv.pages('#daylog'); | |
// Loop through pages | |
for (let p of pages) { | |
let noteText = await dv.io.load(p.file.path); | |
// define headers to look for | |
const headers = ["π§ Personal", "π» Work"]; | |
headers.map((header) => { |
Please use this snippet instead.
.card-view { | |
--card-width:35em; /*adjust this size if you want narrower or wider cards*/ | |
/*unit has to be in em so that card background will scale along with your font | |
when you zoom in and out*/ | |
} | |
/*The Card*/ | |
.card-view .markdown-preview-section { | |
background-color: var(--background-primary); | |
margin: 3% auto; |
title | allDay | startTime | endTime | date |
---|---|---|---|---|
Pathologie Vorlesung |
false |
29700 |
35100 |
2022-04-05 |
[!info]+
- type:: Vorlesung
/* Cards snippet for Obsidian | |
author: @kepano | |
Support my work: | |
https://github.com/sponsors/kepano | |
modified by @signynt for the Primary theme */ | |
:root { | |
--cards-min-width:180px; | |
--cards-max-width:1fr; | |
--cards-mobile-width:120px; |
/* Obsidian snippet to style output of pdf exports | |
*/ | |
@media print { | |
/* set your preferred fonts here. | |
*/ | |
:root { | |
--body-font-family: "Newsreader Text", TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif; |