To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorTesting Code Blocks
In the feature description.
Only indent to specify code block:
No indent:
/a regex/
a_string = "foo"
a_string.to_sym
2 space indent:
/a regex/
a_string = "foo"
a_string.to_sym
4 space indent:
/a regex/
a_string = "foo"
a_string.to_sym
Triple backticks
No indent:
/a regex/
a_string = "foo"
a_string.to_sym
2 space indent:
/a regex/
a_string = "foo"
a_string.to_sym
4 space indent:
```
/a regex/
a_string = "foo"
a_string.to_sym
```
Triple backticks (with syntax)
No indent:
/a regex/
a_string = "foo"
a_string.to_sym
2 space indent:
/a regex/
a_string = "foo"
a_string.to_sym
4 space indent:
```ruby
/a regex/
a_string = "foo"
a_string.to_sym
```
Tripe quotes (with syntax):
No indent:
"""ruby
/a regex/
a_string = "foo"
a_string.to_sym
"""
2 space indent:
"""ruby
/a regex/
a_string = "foo"
a_string.to_sym
"""
4 space indent:
"""ruby
/a regex/
a_string = "foo"
a_string.to_sym
"""
- Scenarios
-
- Code block in scenario
-
- Given
-
some ruby code:
/a regex/ a_string = "foo" a_string.to_sym
Last published over 5 years ago by cupakromer.