Skip to content
This repository has been archived by the owner on Feb 14, 2018. It is now read-only.

Formatting of tables #419

Open
coevolving opened this issue Jun 10, 2014 · 7 comments
Open

Formatting of tables #419

coevolving opened this issue Jun 10, 2014 · 7 comments

Comments

@coevolving
Copy link

Are table supported in any way in federated wiki? Going back to http://c2.com/cgi/wiki?TextFormattingRules , I notice that tables were not supported there, although there was some discussion about using preformatting. Does preformatting work in fedwiki, and is that the preferred way to do tables?

Here is the table to be transcribed (using square brackets to separate the content).

[ ] [ Satisfies ] [ Doesn't Satisfy ]
[ A ] [ 1 3 4 5 6 7 ] [ 2 8 ]
[ B ] [ 3 4 6 7 8 ] [ 1 2 7 ]
[ C ] [ 2 7 8 ] [ 1 3 4 5 6 ]

I'm transcribing some text from "A Pattern Language Which Generates Multi-Service Centers", by Christopher Alexander et al. 1968. There's some humour in doing this, as the pages are clearly copied from an old time typewriter (e.g. underscores, no italics).

@almereyda
Copy link
Contributor

In a two iterations process, it should be possible to integrate a MarkDown flavour that supports tables, one should carefully select, into one of the editors I've mentionned for

  1. MarkDown parsing as a factory plugin.
  2. Then integrate the dialect.

Would you be interested in collaborating on this one? As I'm not a real developer, this would be something like my first project; where I would like to have a little supervision or feedback.

@paul90
Copy link
Contributor

paul90 commented Jun 10, 2014

If you are going to want to anything with the data other than simple present it as a table then a alternative solution would be to extend the data plugin, to provide an alternative presentation and a way of creating/editing the data conten

@almereyda
Copy link
Contributor

Japp. Another quick hack would be to use plain old html (in one line))
Am 10.06.2014 21:28 schrieb "Paul Rodwell" notifications@github.com:

If you are going to want to anything with the data other than simple
present it as a table then a alternative solution would be to extend the
data plugin, to provide an alternative presentation and a way of
creating/editing the data conten


Reply to this email directly or view it on GitHub
#419 (comment)
.

@coevolving
Copy link
Author

I would be happy with entering raw HTML, markdown, or even reusing a spreadsheet function if that were available. A grid of data is a relatively standard way to present data.

@almereyda
Copy link
Contributor

Raw HTML is already available. Just make sure it is being typed within one
Paragraph. That's also the way how lists are being done these days, for
example.
Am 10.06.2014 22:28 schrieb "David Ing" notifications@github.com:

I would be happy with entering raw HTML, markdown, or even reusing a
spreadsheet function if that were available. A grid of data is a relatively
standard way to present data.


Reply to this email directly or view it on GitHub
#419 (comment)
.

@coevolving
Copy link
Author

@almereyda Thanks for pointing out raw HTML already works. There wasn't enough whitespace between columns, so I changed -- table -- to -- table border="1" --, which works at the bottom of http://fed.coevolving.com/view/welcome-visitors/view/small-target-areas-1968 .

Writing in one line is ugly, but if it gets to be too much, I could use an editor like BlueGriffon and then copy in.

@WardCunningham
Copy link
Owner

I have suggested that we capture html and markdown in plugins specific to those formats. I would like to start properly escaping paragraph text which will require some conversion process.

fedwiki/wiki-client#46

It would be nice to make a data viewer for the Data plugin. I'm more interested in visualizations so I'm not likely to do it.

A good question might be what would be a more plain way to present the data.

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

No branches or pull requests

4 participants