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.
| 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; |
Security Advisories / Bulletins / vendors Responses linked to Log4Shell (CVE-2021-44228)
| javascript: Promise.all([import('https://unpkg.com/[email protected]?module'), import('https://unpkg.com/@tehshrike/[email protected]'), ]).then(async ([{ | |
| default: Turndown | |
| }, { | |
| default: Readability | |
| }]) => { | |
| /* Optional vault name */ | |
| const vault = ""; | |
| /* Optional folder name such as "Clippings/" */ |