emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* export to markdown: a simpler version which is more suited for github etc
@ 2016-03-12 18:21 Uwe Brauer
  2016-03-12 22:25 ` Nicolas Goaziou
  2016-03-17  3:04 ` Grant Rettke
  0 siblings, 2 replies; 3+ messages in thread
From: Uwe Brauer @ 2016-03-12 18:21 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 336 bytes --]


Hello

I attach 3 files a original README-bitbucket.md from a bitbucket repo. I
converted it to org (via pandoc) README.org and then back using the
internal org converter to md, the result README.md is more complicated.
So the question is simply this could the converter be configured to use
a simpler conversion?

Thanks

Uwe Brauer


[-- Attachment #2: README-bitbucket.md --]
[-- Type: application/octet-stream, Size: 526 bytes --]

# README #

This README would normally document whatever steps are necessary to
get your application up and running.

## What is this repository for? ##

* Quick summary: Our cool publication. 

## Before we start ##

* Installation:
* sudo apt-get install hg
* sudo apt-get install tortoisehg

## How do I get set up? ##

* The .hgrc file

[ui]
username = Uwe Brauer <oub@mat.ucm.es>

[paths]
default = git+ssh://oub@git.code.sf.net/p/matlab-emacs/src


## HOWTO ##
* use thg, a graphical interface.
* from the command line


[-- Attachment #3: README.md --]
[-- Type: application/octet-stream, Size: 1076 bytes --]

<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#orgheadline5">1. README</a>
<ul>
<li><a href="#orgheadline1">1.1. What is this repository for?</a></li>
<li><a href="#orgheadline2">1.2. Before we start</a></li>
<li><a href="#orgheadline3">1.3. How do I get set up?</a></li>
<li><a href="#orgheadline4">1.4. HOWTO</a></li>
</ul>
</li>
</ul>
</div>
</div>

# README<a id="orgheadline5"></a>

This README would normally document whatever steps are necessary to get
your application up and running.

## What is this repository for?<a id="orgheadline1"></a>

-   Quick summary: Our cool software

## Before we start<a id="orgheadline2"></a>

-   Installation:
-   sudo apt-get install hg
-   sudo apt-get install tortoisehg

## How do I get set up?<a id="orgheadline3"></a>

-   The .hgrc file

[ui] username = Uwe Brauer [oub@mat.ucm.es](oub@mat.ucm.es)

[paths]
default = git+ssh://oub@git.code.sf.net/p/matlab-emacs/src

## HOWTO<a id="orgheadline4"></a>

-   use thg, a graphical interface.
-   from the command line

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: README.org --]
[-- Type: text/x-org, Size: 540 bytes --]

* README

This README would normally document whatever steps are necessary to get
your application up and running.

** What is this repository for?

-  Quick summary: Our cool software

** Before we start

-  Installation:
-  sudo apt-get install hg
-  sudo apt-get install tortoisehg

** How do I get set up?

-  The .hgrc file

[ui] username = Uwe Brauer [[mailto:oub@mat.ucm.es][oub@mat.ucm.es]]

[paths]
default = git+ssh://oub@git.code.sf.net/p/matlab-emacs/src


** HOWTO

-  use thg, a graphical interface.
-  from the command line


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: export to markdown: a simpler version which is more suited for github etc
  2016-03-12 18:21 export to markdown: a simpler version which is more suited for github etc Uwe Brauer
@ 2016-03-12 22:25 ` Nicolas Goaziou
  2016-03-17  3:04 ` Grant Rettke
  1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2016-03-12 22:25 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

Uwe Brauer <oub@mat.ucm.es> writes:

> I attach 3 files a original README-bitbucket.md from a bitbucket repo. I
> converted it to org (via pandoc) README.org and then back using the
> internal org converter to md, the result README.md is more complicated.
> So the question is simply this could the converter be configured to use
> a simpler conversion?

See `org-export-with-toc'.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: export to markdown: a simpler version which is more suited for github etc
  2016-03-12 18:21 export to markdown: a simpler version which is more suited for github etc Uwe Brauer
  2016-03-12 22:25 ` Nicolas Goaziou
@ 2016-03-17  3:04 ` Grant Rettke
  1 sibling, 0 replies; 3+ messages in thread
From: Grant Rettke @ 2016-03-17  3:04 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

On Sat, Mar 12, 2016 at 12:21 PM, Uwe Brauer <oub@mat.ucm.es> wrote:
> So the question is simply this could the converter be configured to use
> a simpler conversion?

Have you tried

http://orgmode.org/cgit.cgi/org-mode.git/plain/contrib/lisp/ox-gfm.el

?

It was made for Github and friends; we use it on Bitbucket, too.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-03-17  3:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-12 18:21 export to markdown: a simpler version which is more suited for github etc Uwe Brauer
2016-03-12 22:25 ` Nicolas Goaziou
2016-03-17  3:04 ` Grant Rettke

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).