ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: markdown
Date: Thu, 21 Jul 2011 21:31:27 +0200	[thread overview]
Message-ID: <D9FED30A-14BC-420F-9699-9B1EDF29893B@googlemail.com> (raw)
In-Reply-To: <4E26C917.2040903@wxs.nl>


Am 20.07.2011 um 14:24 schrieb Hans Hagen:

> On 19-7-2011 7:25, Wolfgang Schuster wrote:
> 
>> Can you then also add a few features:
>> 
>> - Headings use \startstructurelevel
>> - Paragraphs are enclosed in startparagraph/stopparagraph
>> - emphasis and bold styles use \definehiglight command
>> 
>> to make it possible to change the layout of markdown documents
>> where ConTeXt is only used to produce a PDF.
> 
> I uploaded a beta with a markdown module. Not being a user myself I leave it to others to provide documentation and examples.
> 
> \starttext
>    \startmarkdown
>    % some examples needed
>    \stopmarkdown
> \stoptext


m-markdown.mkiv

\definedelimitedtext
  [markdownblockquote]
- [markdownquotation]
+ [quotation] % blockquote

How about a parameter to change the output of the rule:

%\unexpanded\def\markdownrule
%  {\hairline\par}

\unexpanded\def\markdownrule
  {\markdownparameter\c!rule}

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  parent reply	other threads:[~2011-07-21 19:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-19 14:05 markdown Hans Hagen
2011-07-19 14:10 ` markdown John Haltiwanger
2011-07-19 17:08 ` markdown Khaled Hosny
2011-07-19 17:14   ` markdown Hans Hagen
2011-07-19 17:25     ` markdown Wolfgang Schuster
2011-07-20 12:24       ` markdown Hans Hagen
2011-07-20 13:08         ` markdown John Haltiwanger
2011-07-21 19:31         ` Wolfgang Schuster [this message]
2011-07-21 20:58           ` markdown Hans Hagen
2011-07-22 15:42             ` markdown Wolfgang Schuster
2011-07-26 10:16 markdown Hans Hagen
     [not found] <mailman.2332.1311677701.4231.ntg-context@ntg.nl>
2011-07-26 12:37 ` markdown Vyatcheslav Yatskovsky
2011-07-26 12:43   ` markdown Hans Hagen
2011-07-26 14:35     ` markdown Paul Menzel
     [not found] <mailman.2340.1311697264.4231.ntg-context@ntg.nl>
2011-07-27  0:27 ` markdown Vyatcheslav Yatskovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D9FED30A-14BC-420F-9699-9B1EDF29893B@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).