Project

General

Profile

Actions

Bug #7189

closed

minor issue with wiki documentation - copying and pasting doesn't work cleanly

Added by Joshua Randall over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Low
Assigned To:
Category:
-
Target version:
-
Story points:
-

Description

Following along with the port-a-pipeline docs, I notice that the way the wiki has the blocks (for example, when instructing to `vi` a file into existence and then displaying the `cat` of its subsequent contents), there are 4 spaces before each line meaning that when you copy and paste (e.g. into `vi`), you then have to edit each line and delete the four spaces. Not a major issue, but a minor annoyance that might have an easy fix?

I notice that the HTML the wiki is returning for this has the spaces explicitly in it:

<code>  </code>$ vi createtwofiles.sh<br />    ⤷ $cat createtwofiles.sh<br />    #!/bin/bash<br />    echo "Hello " &gt; out1.txt<br />    echo "Arvados!" &gt; out2.txt

I can see what is desired here is for the initial '$ vi createtwofiles.sh' line to be left justified and for the subsequent lines to be indented - perhaps that could be accomplished at the style level (e.g. splitting up the pre tag into two blocks of different classes, such as by wrapping the latter inside something like <div class="indent"></div>) rather than actually including the formatting in the contents.

Actions #1

Updated by Joshua Randall over 10 years ago

  • Status changed from New to Closed
  • Assigned To set to Joshua Randall
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF