Setting up Markdown Tools


(Ryan Archer) #1

I've just become aware that we can implement a MarkDown editor in Squiz Matrix as an alternative to Raw HTML and the WYSIWYG editor.

I've followed up the Squiz guide notes until I get to this page https://manuals.matrix.squizsuite.net/system-configuration/chapters/external-tools-configuration#Markdown-Toolsand I really don't know what to do next. It tells me that the parth to Mardown and Markdownify is invalid:

  Path to Markdown

			/usr/bin/markdown.php<span style="color:rgb(255,0,0);">The path to Markdown is not valid</span>
	
			<a></a>Path to Markdownify
		
			/usr/bin/markdownify.php<br><span style="color:rgb(255,0,0);">The path to Markdownify is not valid</span>
	<p>So how would I go about setting this up correctly?<p>&#160;<p>Cheers.

(Bart Banda) #2

It might mean that you don't have those tools installed on the server, or the path is incorrect (needs to get changed by a server admin).

 

Here are the paths we use on our dev server, but may not be the same for your server:

 

Path to Markdown /opt/rh/php54/root/usr/share/php/markdown.php

Path to Markdownify /opt/rh/php54/root/usr/share/php/markdownify/markdownify.php


(Ryan Archer) #3

Ok, this might be question/conversation for our ICT team.

Are the scripts included in most Squiz Matrix installs or are they an additional extra to the core package?

 

We are currently using Squiz Matrix 4.18.4 and will be upgrading to latest version of Squiz Matrix in November 2015 (hopefully v5.3, very keen on Git-Matrix File bridge inclusion https://squizmap.squiz.net/matrix/6183)


(Ryan Archer) #4

One more thing. From what I can assume the Markdown software that you implement is open source PHP scripts. Is it a fork from this GitHub?

https://github.com/Elephant418/Markdownify


(Nic Hubbard) #5

Ok, this might be question/conversation for our ICT team.

Are the scripts included in most Squiz Matrix installs or are they an additional extra to the core package?

 

 

No, these External Scripts are not included in any Matrix installs. You need to download them separately and put them on your server, then provide the path in Matrix.