Skip to content

Allow property names to start with number or special characters (as obsidian does natively) #512

@Void4m0n

Description

@Void4m0n

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?

I am developing an application to record training sessions, and to record the training data in the properties of the file I use an input field with the following format: INPUT[number(class(moible_input)):${exercise_name}_reps_set_${c}. The problem is that input fields do not allow the property name to start with a number or some special characters (although obsidian natively supports this). So in my case when exporting a json with more than 800 exercises to .md notes causes that exercises starting with a number will return the following error:

Image

If the property starts with text characters there is no problem. INPUT[number(class(moible_input)):exercise_3_4_sit_up_reps_set_1]

Describe the Feature you'd like

It would make sense to me that metabind would support the same characters that obsidian supports by default when parsing the property name.

Alternatives

Parse the property name between : ] allowing the same characters as obsidian allows at the beginning of the property:

  • Numbers
  • Special characters like / ; ( ) < >

Additional Context

Your plugin is amazing! ty for the work

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions