Create subfolders for attachments based on custom pattern-1

In Typora it is possible to automatically create subfolders with custom patterns when adding attachments, or for example when dragging and dropping an image into the markdown file.

When this is done, the image is added to an automatically created folder placed at the same root of the markdown file.

This is done in Typora settings by specifying the following as attachments folder:


So, for example, when dragging and dropping an image to the file, this will be the file structure:

Is something like that achievable in Obsidian?

More in general, what are the variables available to be used as custom pattern other than filename?

Don’t want to implement it through third-party plug-ins
Hopefully this feature will be added to Obsidian.