1
- ## styler 0.1 .0 (2017-12-05)
1
+ ## styler 1.0 .0 (2017-12-05)
2
2
3
3
Initial release.
4
4
@@ -24,6 +24,21 @@ style_file(path,
24
24
style_text(text, ..., style = tidyverse_style, transformers = style(...))
25
25
```
26
26
27
+ ### style guides
28
+ These functions are the style guides implemented.
29
+ ```
30
+ tidyverse_style(
31
+ scope = "tokens",
32
+ strict = TRUE,
33
+ indent_by = 2,
34
+ start_comments_with_one_space = FALSE,
35
+ reindention = tidyverse_reindention(),
36
+ math_token_spacing = tidyverse_math_token_spacing()
37
+ )
38
+ tidyverse_reindention()
39
+ tidyverse_math_token_spacing())
40
+ ```
41
+
27
42
### style guide creators
28
43
This function is used to create a style guide.
29
44
```
@@ -38,19 +53,6 @@ create_style_guide(
38
53
)
39
54
```
40
55
41
- ### style guides
42
- These functions are the style guides implemented.
43
- ```
44
- tidyverse_style(
45
- scope = "tokens",
46
- strict = TRUE,
47
- indent_by = 2,
48
- start_comments_with_one_space = FALSE,
49
- reindention = tidyverse_reindention(),
50
- math_token_spacing = tidyverse_math_token_spacing()
51
- )
52
- ```
53
-
54
56
### Helpers
55
57
These are helper functions used to specify the style guides in use.
56
58
@@ -65,10 +67,5 @@ specify_reindention(
65
67
indention = 0,
66
68
comments_only = TRUE
67
69
)
68
- ```
69
-
70
- These are helper functions that simply forward to the helper functions above.
71
- ```
72
- tidyverse_reindention()
73
- tidyverse_math_token_spacing())
70
+ initialize_default_attributes(pd_flat)
74
71
```
0 commit comments