fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

8.6K
active users

#frontmatter

0 posts0 participants0 posts today

Are people even using something else than YAML front matter in their Markdown (or whatever) files?

Apparently there are SSGs that support HTML <meta> tag front matter, and if you're using ReStructured Text it probably does its own thing. And I bet there's at least one person on the planet building their website from ASN.1 files.

What are _you_ using?

#WebDev#SSG#YAML
Continued thread

Aaaand there you go: My first very own Python package on PyPI.

pypi.org/project/felloff/

felloff is a CLI tool to extract, edit (non-interactively, i.e. via command line switches), or remove YAML front matter in text files.

Now also supports editing existing files in place (instead of just printing the changed version to stdout).

Also, if you installed the 0.1.0 version please upgrade to 0.1.1, there's been a silly bug that broke reading from stdin … 🤦‍♂️

#Python#CLI#YAML

Have you validated your :rss: feed? rssboard.org/rss-validator/

I just did and realised there were lots of intraoperability suggestions on one of my blogs running and it was actually not even valid because I had a missing trailing slash on my baseURL!

But I managed to sqash the errors (e.g. using absolute permalinks instead of relPermalinks and ensuring the date in the was in the right format).

PS. Thanks @joel for inadvertently making me aware of the situation!

www.rssboard.orgRSS Validator

Y’ALL!
i need #YAML #Obisidan #Frontmatter help

y’all know how you can add filters to frontmatter variables?
help.obsidian.md/web-clipper/f

how do i do this?

1. TAKE A TITLE
"Ohai This Is A Title: Made a long ass mess with all this text"

2. USE THE COLON AS DELIMITER
title: "Ohai This Is A Title"
subtitle: "Made a long ass mess with all this text"

3. SO I CAN TEMPLATE IT AS

title: {{title|replace: ? : " " }}
subtitle: {{title|replace: ? : " " }}
alias: {{title}}

Obsidian HelpFilters - Obsidian HelpFilters allow you to modify variables in Web Clipper templates. Filters are applied to variables using the syntax {{variable|filter}}. Filters work for any kind of variable including prompt, meta, se…

📝Tell GitHub to Render Markdown Pages with .gitattributes

Articles on Hearthside are written in #Markdown (#GitHub-flavored), but the file extension is .md.yaml as they also make use of Jekyll-style front matter. My #Frontmatter gem requires that files it handles end in .yaml or .yml, so this is necessary.

#Meta #NaBloPoMo2024
calebhearth.com/m/github-lingu

HearthsideTell GitHub to Render Markdown Pages with .gitattributes
More from Caleb Hearth :d6:

Завершил ещё один небольшой open source-проект: Preambula — обработчик Markdown-файлов, позволяющий преобразовывать их на лету в HTML, вставлять в заданный шаблон, добавлять или автоматически генерировать основные meta-теги и отображать как обычную Web-страницу. Использовал чистый PHP без всяких frameworks, поэтому работает быстро и с минимальным потреблением памяти.

Скачать можно тут: https://preambula.4xpro.ru
GitHub-репозиторий — https://github.com/XXXXPro/Preambula

Изначально думал, что напишу за два-три дня (и базовую рабочую версию за это время и сделал, причём один день ушёл на выбор Markdown-парсера), но потом всякие мелкие доделки и написание документации заняли ещё две недели.
#markdown #frontmatter #opensource #open_source

I'm still not out of the rabbit hole of searching for an #OpenSource #PersonalKnowledgeManagement software. 🐰

I'm gonna give a second try to @zettlr tomorrow! Their docs are *surprisingly* user-friendly and they claim to stick to the pure #CommonMark where probable. It's all the while being nice to researchers with citing, inline usage of #TeXLaTeX, #MermaidJS, and pop-over #footnotes. Provision of the simple #PDF export and #Pandoc customization are welcome, too!

But, to be fair, I may be overexaggerating how good #Zettlr is because of my recent disgust with #VendorLocking. In fact, almost anything that closely follows the common spec and is #FreeSoftware might suffice already. Having something as advanced and closer to the roots is certainly refreshing!

Replied in thread

@mfru I can't wait to try out the extensions, but I'm going to take it slow (at least I'll try!) - I'll keep this on a back burner though. Although I have a lot of things integrated into vscode like #Frontmatter and #Platform.io, I can definitely see a future when simplicity will be better for certain projects. Unless there's anything in #emacs that could cater for #microcontroller programming or static site generation? I mean it's emacs, I'm sure there is 😂

#Obsidian Пробы плагинов

Плагин Projects показывает заметки в виде таблицы, используя метаданные #frontmatter. Ну, такое мне не особо надо, ведь я создаю хранилище в виде текстовой сети, т.е. гипертекста. Таблицы тут нафик не упёрлись. Удалил.

Плагин Timelines тоже использует метаданные, но мне не удалось его запустить. Указал все теги, все блоки - но нифига. К тому же он два года как заброшен, нафик такое. Удалил.

А таймлайн мне нужен, буду искать.

An exciting discovery this morning. I installed VSCodium on a whim as it is the FOSS variant of VS Code. Why devs would use an IDE from MS is beyond me. While fiddling with the extensions available I found Front Matter.

Holy sh*t!

It is a CMS for your SSG of choice that gives you a dashboard view of the content you are building and also lets you preview while editing. ‘

<mind blown>

frontmatter.codes/

frontmatter.codesHeadless CMS right in your code editor | Front MatterHeadless CMS running in Visual Studio Code that helps managing your static sites. Supports Hugo, Jekyll, Docusaurus, NextJs, Gatsby, and more.