Currently, Obsidian offers indents as either a tab character or a hardcoded 4 spaces.
tabSize
CodeMirror
indentUnit
This feature has been implemented in 0.10.0, currently in the insider build. Thanks so much for this!