markdown preview just showing text

Asked by Sune Woeller

Hi,
Retext only shows the plain text version of my file. No rendering of markdown is taking place. Tried both webkit and normal.

It is unclear to me exaclty what packages I have to install to meet the dependencies mentioned in http://sourceforge.net/p/retext/wiki/Quick%20Start%20Guide/

I run ubuntu 11.04

i have installed
markdown
python-markdown
python-qt4
libqt4-core etc.

Kind regards,
Sune Woeller

Question information

Language:
English Edit question
Status:
Solved
For:
ReText Edit question
Assignee:
No assignee Edit question
Solved by:
Sune Woeller
Solved:
Last query:
Last reply:
Revision history for this message
Dmitry Shachnev (mitya57) said :
#1

It seems that ReText thinks you are editing a plain text file.

If you want your file to be recognized as a Markdown file, its extension should be one of '.mkd', '.md', '.mdwn', '.markdown'.

Alternatively, you can manually set the file type either by unchecking 'Edit -> Plain text' option or (the permanent way, for ReText 3.0.1 and newer) by adding 'autoPlainText=false' line to your configuration file (placed at ~/.config/ReText project/ReText.conf).

P.S. There is a PPA for Ubuntu 11.04: "ppa:mitya57/ppa", so you don't need to install any packages manually.

Revision history for this message
Sune Woeller (sune-woeller) said :
#2

Thank you! That was indeed the problem. Changing the file extension to .md works. And when editing .txt files, unchecking 'Edit -> Plain text' also makes markdown rendering possible.

Yes I use the ppa. Was just trying to find a missing dependency - thought that had something to do with the problem.

kind regards,
Sune