Why not do it with WordPress/PHP?
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="entry"> <!-- or whatever your loop code is... -->
<?php the_content(); ?>
</div>
<?php if ( $post->ID == "40" ) : ?>
<a href='#anker1'>\f107</a>
<?php endif; ?>
<?php endwhile; else: ?>
Edit to answer comment question about arrays and styling. Put the IDs you care about in the array $myIDs
. This will also output a classname on each a called "link-##" where ## is the post id number.
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="entry"> <!-- or whatever your loop code is... -->
<?php the_content(); ?>
</div>
<?php
$myIDs = array(40, 42, 147, 256);
if ( in_array($post->ID, $myIDs) ) : ?>
<a href='#anker1' class="button-link link-<?php the_ID() ?>">\f107</a>
<?php endif; ?>
<?php endwhile; else: ?>
More info:
http://us3.php.net/in_array
http://codex.wordpress.org/Template_Tags
http://codex.wordpress.org/Function_Reference/the_ID