WardCunningham / Smallest-Federated-Wiki

This wiki innovates by: 1. federated sharing, 2. drag refactoring and 3. data visualization.
http://wardcunningham.github.com/
GNU General Public License v2.0
1.21k stars 177 forks source link

Formatting of tables #419

Open coevolving opened 10 years ago

coevolving commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

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 https://github.com/WardCunningham/Smallest-Federated-Wiki/issues/419#issuecomment-45660083 .

coevolving commented 10 years ago

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 commented 10 years ago

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 https://github.com/WardCunningham/Smallest-Federated-Wiki/issues/419#issuecomment-45667108 .

coevolving commented 10 years ago

@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 commented 10 years ago

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.

https://github.com/fedwiki/wiki-client/issues/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.