13609: Improve README fomatting a bit.
authorPeter Amstutz <pamstutz@veritasgenetics.com>
Thu, 2 Aug 2018 17:52:35 +0000 (13:52 -0400)
committerPeter Amstutz <pamstutz@veritasgenetics.com>
Thu, 2 Aug 2018 17:52:35 +0000 (13:52 -0400)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>

doc/css/code.css
sdk/R/README.Rmd

index 543a14de0baff833edd73f63a76677c2f50fa055..ff4a58e12c6ed6bd0e0a4af38dcd7ee884839178 100644 (file)
@@ -29,3 +29,12 @@ table.code tr td:nth-child(2) {
 .userinput {
     color: #d14;
 }
+
+table.CodeRay {
+    margin-left: 3em;
+    width: calc(100% - 6em);
+}
+
+td.line-numbers {
+    width: 2em;
+}
index 7ea226fd0931d61a2c8c2e92f8d892f3406918b3..18454bf2ae98b4f88d13e5262fbb5b60fb442f63 100644 (file)
@@ -133,7 +133,7 @@ files <- collection$getFileListing()
 arvadosFile <- collection$get("location/to/my/file.cpp")
 ```
 
-    or
+or
 
 ```{r}
 arvadosSubcollection <- collection$get("location/to/my/directory/")
@@ -177,7 +177,7 @@ fileContent <- arvadosFile$read("raw", offset = 1024, length = 512)
 size <- arvadosFile$getSizeInBytes()
 ```
 
-    or
+or
 
 ```{r}
 size <- arvadosSubcollection$getSizeInBytes()
@@ -189,7 +189,7 @@ size <- arvadosSubcollection$getSizeInBytes()
 collection$create(files)
 ```
 
-    Example:
+Example:
 
 ```{r}
 mainFile <- collection$create("cpp/src/main.cpp")