AnnoCPAN
view release on metacpan or search on metacpan
html/annocpan.css view on Meta::CPAN
a { color: #007733; }
a:visited { color: #005518; }
p { line-height: 130%; text-align: justify;}
#content { padding: 0 1ex; }
/* messages */
.error {
font-weight: bold;
color: red;
}
.message {
font-weight: bold;
color: green;
}
.message a, .error a {
font-size: 80%;
color: inherit;
}
.motd {
margin: 1em 10% 0 10%;
font-size: 95%;
html/annocpan.css view on Meta::CPAN
font-size: 80%;
}
.note {
margin: 0 0 5px;
}
.note p { text-align: left; }
.note_header {
background-color: #F0DDBB;
font-weight: bold;
padding: 0.5ex;
height: 1.3em;
}
.note_body {
background: #FEFFD7;
margin: 0;
padding: 0.5ex;
}
html/annocpan.css view on Meta::CPAN
#pod2html a.purple { text-decoration: none; color: #d8bfd8;
/* position: relative; bottom: 5px; */
}
#pod2html .note_body p { margin: 0.75ex 0; }
#pod2html .note_body pre { background: none; border: none; }
.button { display: none; font-size: 85%; }
/* nav */
#nav { background-color: #042; color: white; font-weight: bold;
padding: 0.1em 1em;
list-style: none;
height: 1.3em;
margin: 1.5ex 0;
}
#nav ul { margin: 0; padding: 0; }
#nav li { float: left; display: block; clear: none; margin: 0 1ex; padding: 0 }
#nav li.right { float: right; }
#nav a { color: white; text-decoration: none; }
html/annocpan.css view on Meta::CPAN
#pod2html pre {
background: #eff7e9;
border: 1px solid #888888;
padding-top: 1em;
white-space: pre;
}
#pod2html h3, #pod2html h4 { color: #007733; }
#pod2html h3 { font-size: large; margin: 2ex 0 1ex; }
#pod2html h4 { font-size: medium; }
#pod2html p a { font-weight: bold; }
.line_cont { color: red; }
#pod2html .cb { display: none; }
/* forms */
label { font-weight: bold; }
form.float label {
display: block;
float: left;
width: 6em;
text-align: right;
padding: 0.2ex 1ex 0 0; margin: 0.2ex 0;
}
form.float input.text {
html/annocpan.css view on Meta::CPAN
.pager { text-align: center; margin: 10px 0; }
/* note_help */
#note_help { font-size: 85% }
#note_help h2 { color: #007733; }
#note_help table {
border-top: 2px solid black;
border-bottom: 2px solid black;
}
#note_help th { border-bottom: 1px solid black; text-align: left; }
#note_help dt { font-weight: bold; }
lib/AnnoCPAN/DBI.pm view on Meta::CPAN
# steal the notes and podvers
for my $child (@notes, @podvers, @pod_dists) {
$child->pod($self);
$child->update;
}
# union of all the notes/podvers
push @notes, $self->notes;
push @podvers, $self->podvers;
# boldly translate the notes to where they have never been before
for my $note (@notes) {
for my $podver (@podvers) {
my ($np) = AnnoCPAN::DBI::NotePos->search_podver_note(
$podver, $note);
unless ($np) {
$note->guess_section($podver);
}
}
}
tt/faq.html view on Meta::CPAN
<h2>Creating and modifying notes</h2>
<a name="create"></a><h3>How do I add a note?</h3>
<p>After you log in, click on the note icon next to the paragraph where you
want to add the note</p>
<a name="pod"></a><h3>How can I format my notes?</h3>
<p>Currently a subset of POD is allowed. You can use formatting sequences such
as L<> (link), B<> (bold), I<> (italic), C<> (code),
etc, and verbatim paragraphs (lines that start with a space). What you can't
use are the pod commands, such as =item, =head1, etc. For more information
about the POD format, see [% link_perldoc_name('perlpod') %]. </p>
<a name="edit"></a><h3>Can I edit my notes?</h3>
<p>Yes, just click on the edit button. Make sure you are logged in first!</p>
<a name="editall"></a><h3>Can I edit other people's notes?</h3>
tt/motd.html view on Meta::CPAN
replacement for <code>perldoc</code> that inserts annotations from a local
database.
</div>
</div>
<div class="motd">
<h3>Now you can write your notes in POD!</h3>
<div class="motd_body">
Well, on a subset of it, at least. You can use formatting sequences such as
L<> (link),
B<> (bold),
I<> (italic),
C<> (code),
etc, and verbatim paragraphs (lines that start with a space). What you can't
use are the pod commands, such as =item, =head1, etc. For more information
about the POD format, see [% link_perldoc_name('perlpod') %].
</div>
</div>
<div class="motd"><h3>Are you a module author?</h3>
<div class="motd_body">
tt/note_help.html view on Meta::CPAN
<body>
<div id="note_help">
<h2>Note formatting</h2>
<p>Notes can be formatted using a POD subset. Examples:</p>
<table>
<tr><th>POD</th><th>Result</th></tr>
<tr><td>B<bold></td><td><b>bold</b></td></tr>
<tr><td>I<italic></td><td><i>italic</i></td></tr>
<tr><td>C<code></td><td><code>code</code></td></tr>
<tr><td>C<< $code->with_gt >></td><td><code>$code->with_gt</code></td></tr>
<tr><td>L<My::Module></td><td>[% link_perldoc_name('My::Module') %]</td></tr>
<tr><td>L<http://perl.org></td><td><a href="http://perl.org">http://perl.org</a></td></tr>
</table>
<pre>
$lines->that_begin( with_a_space() ) {
are_formatted_verbatim;
( run in 1.131 second using v1.01-cache-2.11-cpan-5a3173703d6 )