Skip to content

Commit 2f99613

Browse files
committed
Use code fence if single-backtick over whole line
Especially when there are multiple such lines in a row. Found using the following command: perl -0777 -i -pe 's/\n((`[^`][^\n]*` *\n){2,})/\n```FIXME\n\1```\n/igs' **/*.md Followed by: vi $(git grep -l '```FIXME') And vim macros to work through the instances quickly. Still, a lot of manual work was required, because different pages used different conventions and markup in various ways.
1 parent f753b4c commit 2f99613

26 files changed

+846
-769
lines changed

_pages/develop/debugging.md

Lines changed: 53 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -219,51 +219,59 @@ Okay, so here you go, a little demonstration:
219219

220220
(If you attach jdb to a running ImageJ process, you have to use the line from the previous section instead.)
221221

222-
`$ jdb -classpath ij.jar ij.ImageJ`
223-
`> stop in ij.ImageJ.main`
224-
`Deferring breakpoint ij.ImageJ.main.`
225-
`It will be set after the class is loaded.`
226-
`> run`
227-
`run ij.ImageJ`
228-
`Set uncaught java.lang.Throwable`
229-
`Set deferred uncaught java.lang.Throwable`
230-
`>`
231-
`VM Started: Set deferred breakpoint ij.ImageJ.main`
232-
233-
`Breakpoint hit: "thread=main", ij.ImageJ.main(), line=466 bci=0`
234-
235-
`main[1] use .`
236-
`main[1] list`
237-
`462 //prefs.put(IJ_HEIGHT, Integer.toString(size.height));`
238-
`463 }`
239-
`464`
240-
`465 public static void main(String args[]) {`
241-
`466 => if (System.getProperty("java.version").substring(0,3).compareTo("1.4")<0) {`
242-
`467 javax.swing.JOptionPane.showMessageDialog(null,"ImageJ "+VERSION+" requires Java 1.4.1 or later.");`
243-
`468 System.exit(0);`
244-
`469 }`
245-
`470 boolean noGUI = false;`
246-
`471 arguments = args;`
247-
`main[1] print args[0]`
248-
`java.lang.IndexOutOfBoundsException: Invalid array range: 0 to 0`
249-
` args[0] = null`
250-
`main[1] print args.length`
251-
` args.length = 0`
252-
`main[1] step`
253-
`>`
254-
`Step completed: "thread=main", ij.ImageJ.main(), line=470 bci=28`
255-
`470 boolean noGUI = false;`
256-
257-
`main[1] step`
258-
`>`
259-
`Step completed: "thread=main", ij.ImageJ.main(), line=471 bci=30`
260-
`471 arguments = args;`
261-
262-
`main[1] set noGUI = true`
263-
` noGUI = true = true`
264-
`main[1] cont`
265-
`>`
266-
`The application exited`
222+
```jdb
223+
$ jdb -classpath ij.jar ij.ImageJ
224+
> stop in ij.ImageJ.main
225+
Deferring breakpoint ij.ImageJ.main.
226+
It will be set after the class is loaded.
227+
> run
228+
run ij.ImageJ
229+
Set uncaught java.lang.Throwable
230+
Set deferred uncaught java.lang.Throwable
231+
>
232+
VM Started: Set deferred breakpoint ij.ImageJ.main
233+
234+
Breakpoint hit: "thread=main", ij.ImageJ.main(), line=466 bci=0
235+
```
236+
237+
```jdb
238+
main[1] use .
239+
main[1] list
240+
462 //prefs.put(IJ_HEIGHT, Integer.toString(size.height));
241+
463 }
242+
464
243+
465 public static void main(String args[]) {
244+
466 => if (System.getProperty("java.version").substring(0,3).compareTo("1.4")<0) {
245+
467 javax.swing.JOptionPane.showMessageDialog(null,"ImageJ "+VERSION+" requires Java 1.4.1 or later.");
246+
468 System.exit(0);
247+
469 }
248+
470 boolean noGUI = false;
249+
471 arguments = args;
250+
main[1] print args[0]
251+
java.lang.IndexOutOfBoundsException: Invalid array range: 0 to 0
252+
args[0] = null
253+
main[1] print args.length
254+
args.length = 0
255+
main[1] step
256+
>
257+
Step completed: "thread=main", ij.ImageJ.main(), line=470 bci=28
258+
470 boolean noGUI = false;
259+
```
260+
261+
```jdb
262+
main[1] step
263+
>
264+
Step completed: "thread=main", ij.ImageJ.main(), line=471 bci=30
265+
471 arguments = args;
266+
```
267+
268+
```jdb
269+
main[1] set noGUI = true
270+
noGUI = true = true
271+
main[1] cont
272+
>
273+
The application exited
274+
```
267275

268276
# Inspecting serialized objects
269277

_pages/events/2011-hackathon-in-madison.md

Lines changed: 74 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -11,33 +11,36 @@ There were 25 people participating at various times, though only a few stayed fo
1111

1212
The following chart illustrates who attended, and when everyone was present:
1313

14+
FIXME timeline
15+
16+
<!--
1417
<timeline> ImageSize = width:550 height:auto barincrement:20 PlotArea = left:25 right:25 top:15 bottom:30 TimeAxis = orientation:horizontal format:dd/mm/yyyy
1518
1619
Colors =
1720
18-
` id:c01 value:blue`
19-
` id:c02 value:red`
20-
` id:c03 value:green`
21-
` id:c04 value:black`
22-
` id:c05 value:magenta`
23-
` id:c06 value:teal`
24-
` id:c07 value:yelloworange`
25-
` id:c08 value:skyblue`
26-
` id:c09 value:claret`
27-
` id:c10 value:oceanblue`
28-
` id:c11 value:purple`
29-
` id:c12 value:powderblue`
30-
` id:c13 value:coral`
31-
` id:c14 value:redorange`
32-
` id:c15 value:kelleygreen`
33-
` id:c16 value:orange`
34-
` id:c17 value:lightpurple`
35-
` id:c18 value:tan2`
36-
` id:c19 value:gray(0.3)`
37-
` id:gridLine value:gray(0.5)`
38-
` id:canvas value:gray(0.8)`
39-
` id:grid1 value:gray(0.4)`
40-
` id:grid2 value:gray(0.2)`
21+
id:c01 value:blue
22+
id:c02 value:red
23+
id:c03 value:green
24+
id:c04 value:black
25+
id:c05 value:magenta
26+
id:c06 value:teal
27+
id:c07 value:yelloworange
28+
id:c08 value:skyblue
29+
id:c09 value:claret
30+
id:c10 value:oceanblue
31+
id:c11 value:purple
32+
id:c12 value:powderblue
33+
id:c13 value:coral
34+
id:c14 value:redorange
35+
id:c15 value:kelleygreen
36+
id:c16 value:orange
37+
id:c17 value:lightpurple
38+
id:c18 value:tan2
39+
id:c19 value:gray(0.3)
40+
id:gridLine value:gray(0.5)
41+
id:canvas value:gray(0.8)
42+
id:grid1 value:gray(0.4)
43+
id:grid2 value:gray(0.2)
4144
4245
BackgroundColors = canvas:canvas AlignBars = justify
4346
@@ -53,61 +56,62 @@ PlotData =
5356
5457
LineData =
5558
56-
` at:27/01/2011 color:gridLine layer:back width:0.5`
57-
` at:28/01/2011 color:gridLine layer:back width:0.5`
58-
` at:29/01/2011 color:gridLine layer:back width:0.5`
59-
` at:30/01/2011 color:gridLine layer:back width:0.5`
60-
` at:31/01/2011 color:gridLine layer:back width:0.5`
61-
` at:01/02/2011 color:gridLine layer:back width:0.5`
62-
` at:02/02/2011 color:gridLine layer:back width:0.5`
63-
` at:03/02/2011 color:gridLine layer:back width:0.5`
64-
` at:04/02/2011 color:gridLine layer:back width:0.5`
65-
` at:05/02/2011 color:gridLine layer:back width:0.5`
66-
` at:06/02/2011 color:gridLine layer:back width:0.5`
67-
` at:07/02/2011 color:gridLine layer:back width:0.5`
68-
` at:08/02/2011 color:gridLine layer:back width:0.5`
69-
` at:09/02/2011 color:gridLine layer:back width:0.5`
70-
` at:10/02/2011 color:gridLine layer:back width:0.5`
71-
` at:11/02/2011 color:gridLine layer:back width:0.5`
72-
` at:12/02/2011 color:gridLine layer:back width:0.5`
73-
` at:13/02/2011 color:gridLine layer:back width:0.5`
59+
at:27/01/2011 color:gridLine layer:back width:0.5
60+
at:28/01/2011 color:gridLine layer:back width:0.5
61+
at:29/01/2011 color:gridLine layer:back width:0.5
62+
at:30/01/2011 color:gridLine layer:back width:0.5
63+
at:31/01/2011 color:gridLine layer:back width:0.5
64+
at:01/02/2011 color:gridLine layer:back width:0.5
65+
at:02/02/2011 color:gridLine layer:back width:0.5
66+
at:03/02/2011 color:gridLine layer:back width:0.5
67+
at:04/02/2011 color:gridLine layer:back width:0.5
68+
at:05/02/2011 color:gridLine layer:back width:0.5
69+
at:06/02/2011 color:gridLine layer:back width:0.5
70+
at:07/02/2011 color:gridLine layer:back width:0.5
71+
at:08/02/2011 color:gridLine layer:back width:0.5
72+
at:09/02/2011 color:gridLine layer:back width:0.5
73+
at:10/02/2011 color:gridLine layer:back width:0.5
74+
at:11/02/2011 color:gridLine layer:back width:0.5
75+
at:12/02/2011 color:gridLine layer:back width:0.5
76+
at:13/02/2011 color:gridLine layer:back width:0.5
7477
7578
BarData=
7679
77-
` barset:Hackers`
80+
barset:Hackers
7881
7982
PlotData=
8083
81-
` width:15`
82-
` fontsize:M`
83-
` textcolor:white`
84-
` align:left`
85-
` anchor:from`
86-
` shift:(4,-4)`
87-
` color:black`
88-
89-
` barSet:Hackers`
90-
` color:c01 from:06/02/2011 till:12/02/2011 text:"Larry Lindsey"`
91-
` color:c02 from:06/02/2011 till:12/02/2011 text:"Luis Ibanez"`
92-
` color:c03 from:04/02/2011 till:12/02/2011 text:"Ignacio Arganda-Carreras"`
93-
` color:c04 from:01/02/2011 till:10/02/2011 text:"Benjamin Schmid"`
94-
` color:c05 from:31/01/2011 till:07/02/2011 text:"Tobias Pietzsch"`
95-
` color:c06 from:30/01/2011 till:06/02/2011 text:"Mark Longair"`
96-
` color:c07 from:30/01/2011 till:05/02/2011 text:"Erwin Frise"`
97-
` color:c08 from:30/01/2011 till:04/02/2011 text:"Lee Kamentsky"`
98-
` color:c09 from:30/01/2011 till:04/02/2011 text:"Adam Fraser"`
99-
` color:c10 from:30/01/2011 till:04/02/2011 text:"Arthur Edelstein"`
100-
` color:c11 from:29/01/2011 till:05/02/2011 text:"Pavel Tomancak"`
101-
` color:c12 from:28/01/2011 till:13/02/2011 text:"Johannes Schindelin"`
102-
` color:c13 from:28/01/2011 till:12/02/2011 text:"Grant Harris"`
103-
` color:c14 from:28/01/2011 till:07/02/2011 text:"Stephan Saalfeld"`
104-
` color:c15 from:28/01/2011 till:03/02/2011 text:"Albert Cardona"`
105-
` color:c16 from:27/01/2011 till:13/02/2011 text:"Madison Locals*"`
106-
` color:c17 from:27/01/2011 till:09/02/2011 text:"Stephan Preibisch"`
107-
` color:c18 from:27/01/2011 till:29/01/2011 text:"Mark Rowley"`
108-
` color:c19 from:27/01/2011 till:29/01/2011 text:"Paul Barber"`
84+
width:15
85+
fontsize:M
86+
textcolor:white
87+
align:left
88+
anchor:from
89+
shift:(4,-4)
90+
color:black
91+
92+
barSet:Hackers
93+
color:c01 from:06/02/2011 till:12/02/2011 text:"Larry Lindsey"
94+
color:c02 from:06/02/2011 till:12/02/2011 text:"Luis Ibanez"
95+
color:c03 from:04/02/2011 till:12/02/2011 text:"Ignacio Arganda-Carreras"
96+
color:c04 from:01/02/2011 till:10/02/2011 text:"Benjamin Schmid"
97+
color:c05 from:31/01/2011 till:07/02/2011 text:"Tobias Pietzsch"
98+
color:c06 from:30/01/2011 till:06/02/2011 text:"Mark Longair"
99+
color:c07 from:30/01/2011 till:05/02/2011 text:"Erwin Frise"
100+
color:c08 from:30/01/2011 till:04/02/2011 text:"Lee Kamentsky"
101+
color:c09 from:30/01/2011 till:04/02/2011 text:"Adam Fraser"
102+
color:c10 from:30/01/2011 till:04/02/2011 text:"Arthur Edelstein"
103+
color:c11 from:29/01/2011 till:05/02/2011 text:"Pavel Tomancak"
104+
color:c12 from:28/01/2011 till:13/02/2011 text:"Johannes Schindelin"
105+
color:c13 from:28/01/2011 till:12/02/2011 text:"Grant Harris"
106+
color:c14 from:28/01/2011 till:07/02/2011 text:"Stephan Saalfeld"
107+
color:c15 from:28/01/2011 till:03/02/2011 text:"Albert Cardona"
108+
color:c16 from:27/01/2011 till:13/02/2011 text:"Madison Locals*"
109+
color:c17 from:27/01/2011 till:09/02/2011 text:"Stephan Preibisch"
110+
color:c18 from:27/01/2011 till:29/01/2011 text:"Mark Rowley"
111+
color:c19 from:27/01/2011 till:29/01/2011 text:"Paul Barber"
109112
110113
</timeline>
114+
-->
111115

112116
\* Madison locals include:
113117

0 commit comments

Comments
 (0)