Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering branches to markdown #1

Open
JeffreyBenjaminBrown opened this issue Apr 22, 2017 · 3 comments
Open

Rendering branches to markdown #1

JeffreyBenjaminBrown opened this issue Apr 22, 2017 · 3 comments

Comments

@JeffreyBenjaminBrown
Copy link
Member

JeffreyBenjaminBrown commented Apr 22, 2017

In data-public, at :36N9Z665xER3ofa0: (a child of "evang mindmap+"), I am keeping a list of arguments (smsn: powerful, smsn ~ cosmic, smsn ~ rebel, ..) for smsn. I intend to turn those into documentation, probably similar to

  + :2BMkwxjsw8KXGwOD: Document: What it is, how it works
  + :aZlmbrxeHZBUJc9S: Document: Some critical shortcuts

The way I'm rendering those to markdown currently is to unfold the text completely, then run

sed 's/^ *. \:[a-zA-Z0-9]\{16\}\: /\n/' input.txt > output.txt

I noticed that you made "knowledge graph" a descendant of one of those; I'll have to delete it when I render.

Do you already render markdown from the (unlabeled-edges portion of the) graph? What do you do?

@JeffreyBenjaminBrown
Copy link
Member Author

JeffreyBenjaminBrown commented Apr 22, 2017

If no bewtter solution is extant or soon forthcoming, I think a decent hack for now would be to prepend a special character to each note that should be included in the rendered document, and sed the rest away.

@joshsh
Copy link
Member

joshsh commented Apr 23, 2017

Have you checked in atom 36N9Z665xER3ofa0? It's not in my graph, which I cycled this morning. I see the other two, which do look rather document-like.

We need a Markdown writer at the Java level.

@joshsh
Copy link
Member

joshsh commented Apr 23, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants