We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42a8750 commit f70e38dCopy full SHA for f70e38d
align.py
@@ -1,6 +1,6 @@
1
import re
2
3
-def align(str, pad=0):
+def align_yaml(str, pad=0):
4
props = re.findall(r'^\s*[\S]+:', str, re.MULTILINE)
5
longest = max([len(i) for i in props]) + pad
6
return ''.join([i+'\n' for i in map(lambda str:
0 commit comments