mProjectsCode / mProjectsCode/obsidian-meta-bind-plugin

render markdown option for math fields

Open
#650 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
TypeScript
Stars
1k
Forks
86
PR merge metrics
No merged PRs in 30d

Description

Please fill out these Check-boxes
  • I checked for existing similar feature requests
  • I have read the docs and checked that the feature I am requesting is not already implemented
  • My feature request consists of only one feature
Is your Feature Request related to a Problem or Annoyance?

No response

Describe the Feature you'd like

The request is as in the title: a renderMarkdown option for the math view field. I've found the math field can be pretty nifty for basic text manipulation stuff, I've used it for a "★★★☆☆" style display for example. And for more advanced use cases (maybe adding coloring to those stars or using custom icons for example), a renderMarkdown option would make it even more flexible.

Currently, you can work around it by making a hidden math view bound to an intermediate property, and then displaying that intermediate property in a regular text view field that has renderMarkdown enabled. If that intermediate property's storage type is 'memory', it can even be pretty unobtrusive. But it's a little annoying.

Alternatives

No response

Additional Context

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by locating the math view field and the regular text view's existing renderMarkdown behavior, then compare how the two fields render values. Done means the math view supports a renderMarkdown option for formatting values, including cases such as colored or custom-icon star displays.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.