In AsciiDoc…
Ruby snippet (language specified)
two = 1 + 1
eleven = "1" + "1"
raise if Failure.problem
two = 1 + 1
eleven = "1" + "1"
raise if Failure.problem
This list has many items, which are split across several sections.
List items in document include index number. That is, they are formatted like:
1. This list has many items, which are split across several sections.
FROM ubuntu:xenial | |
RUN apt-get update | |
# If you want custom PPAs, you need following. | |
RUN apt-get install -y software-properties-common | |
# Git is obligatory for obvious reasons. | |
# bzip2 provides bzip2 | |
# cURL is necessary to download RVM. |
git clone git@github.com:riboseinc/rnp.git | |
./build_macos.sh | |
make install |
[5] pry(main)> Mail::VERSION.version | |
=> "2.7.0" | |
[6] pry(main)> part = Mail::Part.new | |
=> #<Mail::Part:70253998469580, Multipart: false, Headers: <Content-Type: text/plain>> | |
[7] pry(main)> part.body = "Whatever" | |
=> "Whatever" | |
[8] pry(main)> puts part.encoded | |
Content-Type: text/plain; | |
charset=UTF-8 | |
Content-Transfer-Encoding: 7bit |
## Group Space | |
### Spaces [/spaces] | |
#### Index [GET] | |
+ Request (application/json) | |
+ Response 200 (application/json) | |
+ Attributes (object) |
Checking apiary.apib… FAIL | |
warning code 5 in line 195 - ignorning unrecognized block: | |
[comment]: <> (REFERENCE section) | |
warning code 6 in line 2667 - no value(s) specified: | |
`body`: (string) - Body of invitation message to the invitees | |
warning code 6 in line 2705 - no value(s) specified: | |
`s`: (string) - pagination synchronization string | |
warning code 6 in line 2800 - no value(s) specified: | |
`s`: (string) - pagination synchronization string | |
warning code 6 in line 2843 - no value(s) specified: |
URI | stdlib | Addressable |
---|---|---|
|
"#<URI::Generic >" |
"#<Addressable::URI:0x3fee8408a4f0 URI:>" |
source "https://rubygems.org" | |
gem "active_model_serializers", github: "rails-api/active_model_serializers" | |