This is just a test of two posts in emacs-fu.

A perl example:

for (my $i = 0; $i != 10; ++i) {
print "hello, world!\n";
}

and another…

(autoload 'gap-mode "gap-mode" "Gap editing mode" t)
(setq auto-mode-alist (append (list '("\\.g$" . gap-mode)
'("\\.gap$" . gap-mode))
auto-mode-alist))

another

\begin{theorem}
\label{theorem:1}
{\normalfont (Augmentation Theorem)} Let $M=(S,I)$ be a matroid, and
$X,Y\subseteq I$ with $|X|<|Y|$. Then there is $Z\subseteq
Y\setminus X$ such that $|X\cup Z|=|Y|$ and $X\cup Z\in I$.
\end{theorem}

UPDATE: Let’s see if I can change the colors…

(autoload 'gap-mode "gap-mode" "Gap editing mode" t)
(setq auto-mode-alist (append (list '("\\.g$" . gap-mode)
'("\\.gap$" . gap-mode))
auto-mode-alist))

another

\begin{theorem}
\label{theorem:1}
{\normalfont (Augmentation Theorem)} Let $M=(S,I)$ be a matroid, and
$X,Y\subseteq I$ with $|X|<|Y|$. Then there is $Z\subseteq
Y\setminus X$ such that $|X\cup Z|=|Y|$ and $X\cup Z\in I$.
\end{theorem}

testing new org2blog…

### Like this:

Like Loading...

*Related*

Do you get this highlighting by default?

Or do you make some changes by hand, after posting it from org2blog?

This is what I get directly from org2blog. But I would like that the source code blocks used http://en.support.wordpress.com/code/posting-source-code/. Some code was posted in the org-mode list that *almost* does the job, as in this post https://rvftestblog.wordpress.com/2010/08/24/code-blocks-again/.