{ This is a set of NIH Image macros for creating HTML tags. Unlike most text editors, NIH Image does not lock open text files. This means you don't have to close an HTML file to get your browser to reload it. Simply Save (cmd-S), switch to the browser, and reload (cmd-R). } macro 'Skeleton Document'; begin writeln(''); writeln(''); writeln('TITLE'); writeln(''); writeln(''); writeln; writeln; writeln(''); writeln(''); end; macro 'Ancher'; begin write('LINK') end; macro 'Blockquote'; begin if KeyDown('option') then writeln('') else writeln('
') end; macro 'Bold'; begin if KeyDown('option') then write('') else write('') end; { macro 'Bold2'; begin Copy; Clear; write(''); Paste; write(''); end; } macro 'Break'; begin write('
') end; macro 'Center'; begin if KeyDown('option') then write('') else write('
') end; macro 'Header 1'; begin writeln('

HEADER

'); end; macro 'Header 2'; begin writeln('

HEADER

'); end; macro 'Header 3'; begin writeln('

HEADER

'); end; macro 'Horizontal Rule'; begin writeln('
'); end; macro 'Image'; begin write(''); end; macro 'Paragraph'; begin writeln('

') end; macro 'Preformatted Text'; begin if KeyDown('option') then writeln('') else writeln('

')
end;

macro 'Table';
begin
writeln('');
writeln('');
writeln('');
writeln('');
writeln('
Heading 1 Heading 2 Heading 3
r1c1 r1c2 r1c3
r2c1 r2c2 r3c3
'); end; macro 'Unordered List'; begin writeln('
    '); writeln('
  • First item goes here.'); writeln('
  • Second item goes here.'); writeln('
'); end; macro 'Numbered List'; begin writeln('
    '); writeln('
  1. First item goes here.'); writeln('
  2. Second item goes here.'); writeln('
'); end; macro 'Description List'; begin writeln('
'); writeln('
This is the first "title".'); writeln('
This is the first "description".'); writeln('
This is the second "title".'); writeln('
This is the second "description".'); writeln('
'); end; macro 'List Item'; begin write('
  • ') end;