{"repo":"unxok/obsidian-formula-forge","free":true,"listed":false,"github":"https://github.com/unxok/obsidian-formula-forge","clone":"git clone https://github.com/unxok/obsidian-formula-forge.git","description":"Render bases formulas in your notes, define global formulas and functions, and more formula-related features.","language":"TypeScript","stars":11,"topics":["obsidian","obsidian-md","obsidian-plugin"],"license":"MIT","category":"productivity","readme_excerpt":"Formula Forge Render bases formulas in your notes, define global formulas and functions, and more formula-related features. Table of Contents: - Formula rendering - Inline code - Codeblock - Utilities - files() - md() - define() / Null.define() - then() / Null.then() - stableRandom() - Global formulas - Custom functions - Global scope example - Type scope example - API - Templater integration Formula rendering You can render formulas in your notes in inline code or a codeblock. These formulas will automatically re-render when metadata changes. Both this and file refer to the current file which the formula is being rendered in. Inline code By default, the inline code syntax is an equals sign. For example: Codeblock By default, the codeblock language is base-formula . For example: base-formula \"Created: \" + file.ctime With formula codeblocks, you can also add CSS classes by adding them after the codeblock language. For example: base-formula my-class my-other-class \"Created: \" + file.ctime Utilities FF provides a few extra utility functions you can use in your formulas. More may be added in the future. files() files(): list - Gets all files in the vault - Example: files().filter(value.inFolder(\"myFolder\")) . md() md(input: number): html - Converts a markdown string into a code snippet that renders as HTML. - Example: md(\" italic , bold , strikethrough \") define() / Null.define() define(name: string, value: any): null - Defines a local variable. - Typically used in conjunction wi","default_branch":null,"files":null,"tree":[],"storefront":"/r/unxok","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/unxok/obsidian-formula-forge/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}