Include files in Markdown syntax

58 views
Skip to first unread message

ho

unread,
Apr 11, 2012, 3:23:13 AM4/11/12
to sca...@googlegroups.com
Hi,

is there any way to include files within markdown syntax like "{include: File}" in confluence syntax?

best regards
Christoph

James Strachan

unread,
Apr 11, 2012, 5:01:19 AM4/11/12
to sca...@googlegroups.com
On 11 April 2012 08:23, ho <ch.hoc...@gmail.com> wrote:
> Hi,
>
> is there any way to include files within markdown syntax like "{include:
> File}" in confluence syntax?

If you have ssp enabled you can use ${include("foo.md")} for example
if you name your file foo.ssp.md it allows you to use ssp inside your
markdown file.

Another alternative is to use a .page file then you can define a pipeline

---
title: Something
--- name:content pipeline:ssp.markdown

Some markdown here
${include("foo.md")}

--
James
-------
FuseSource
Email: ja...@fusesource.com
Web: http://fusesource.com
Twitter: jstrachan, fusenews
Blog: http://macstrac.blogspot.com/

Open Source Integration and Messaging

Reply all
Reply to author
Forward
0 new messages