<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Valentin's Lab &#187; wordpress</title>
	<atom:link href="https://vaab.blog.kal.fr/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>https://vaab.blog.kal.fr</link>
	<description>Ratiocination of an opensource techie</description>
	<lastBuildDate>Thu, 15 Nov 2018 08:04:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=vaab&amp;popout=1&amp;url=https%3A%2F%2Fvaab.blog.kal.fr%2F&amp;language=en_US&amp;category=text&amp;title=Valentin%27s+Lab&amp;description=Ratiocination+of+an+opensource+techie&amp;tags=blog" type="text/html" />
	<item>
		<title>Forcing monospace font in HTML edit post in wordpress</title>
		<link>https://vaab.blog.kal.fr/2011/06/19/forcing-monospace-font-in-html-edit-post-in-wordpress/</link>
		<comments>https://vaab.blog.kal.fr/2011/06/19/forcing-monospace-font-in-html-edit-post-in-wordpress/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 15:00:42 +0000</pubDate>
		<dc:creator><![CDATA[vaab]]></dc:creator>
				<category><![CDATA[tip]]></category>
		<category><![CDATA[rest]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://vaab.blog.kal.fr/?p=209</guid>
		<description><![CDATA[I'm writing my blog post in ReST_ code, so naturally I want that the `HTML` edition tab of wordpress have a fixed-width font as ``monospace``.
Here's how to achieve this.<p class="read-more"><a href="https://vaab.blog.kal.fr/2011/06/19/forcing-monospace-font-in-html-edit-post-in-wordpress/">Read more &#187;</a></p>]]></description>
				<content:encoded><![CDATA[
<div class="document">


<!-- -*- mode: rst -*- -->
<p>I'm writing my blog post in <a class="reference external" href="http://docutils.sourceforge.net/rst.html">ReST</a> code, so naturally I want that the <cite>HTML</cite> edition tab of wordpress have a fixed-width font as <tt class="docutils literal">monospace</tt>.
Here's how to achieve this.</p>
<p>Go edit your own themes file <tt class="docutils literal"><span class="pre">wp-content/themes/mytheme/functions.php</span></tt>, and add these lines:</p>
<pre class="literal-block">
...
add_action( 'admin_print_styles-post.php', 'my_admin_css' );
add_action( 'admin_print_styles-post-new.php', 'my_admin_css' );
function my_admin_css() {
     ?&gt;
     &lt;style type=&quot;text/css&quot;&gt;
     #editorcontainer textarea#content { font-family: monospace!important }
     &lt;/style&gt;
     &lt;?php
}
...
</pre>
<p>It's done !</p>
<p>Thanks a lot to <a class="reference external" href="http://wordpress.org/support/topic/change-the-visual-editor-font-size?replies=11">WordPress forum</a>...</p>
</div>
 <p><a href="https://vaab.blog.kal.fr/?flattrss_redirect&amp;id=209&amp;md5=be5fe1e25add928c93f125f7f2ea9f70" title="Flattr" target="_blank"><img src="https://vaab.blog.kal.fr/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>https://vaab.blog.kal.fr/2011/06/19/forcing-monospace-font-in-html-edit-post-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=vaab&amp;popout=1&amp;url=https%3A%2F%2Fvaab.blog.kal.fr%2F2011%2F06%2F19%2Fforcing-monospace-font-in-html-edit-post-in-wordpress%2F&amp;language=en_GB&amp;category=text&amp;title=Forcing+monospace+font+in+HTML+edit+post+in+wordpress&amp;description=I%27m+writing+my+blog+post+in+ReST+code%2C+so+naturally+I+want+that+the+HTML+edition+tab+of+wordpress+have+a+fixed-width+font+as+monospace.+Here%27s+how+to+achieve+this....&amp;tags=rest%2Cwordpress%2Cblog" type="text/html" />
	</item>
	</channel>
</rss>
