Discussion:
gdoc2respec (Google Docs => Respec)
Sandro Hawke
2018-08-26 17:16:24 UTC
Permalink
I just wrote a little NodeJS module to convert Google Docs to respec. 
Works for my current draft.

Example doc:  https://credweb.org/report/

Generated at: https://github.com/w3c/credweb/tree/master/report

The re-usable code: https://github.com/sandhawke/gdoc2respec

This won't work with any fancy formatting, tables, etc, and has no way
to handle most nice respec features like definitions and editors notes. 
I might figure out tricks for some of them if/when I need them.  (Like,
maybe any text with a background-color gets special treatment.  Or maybe
I'll see what the corresponding gdocs add-ons do.  Suggestions welcome.)

        -- Sandro
Marcos Caceres
2018-08-27 03:44:04 UTC
Permalink
Post by Sandro Hawke
I just wrote a little NodeJS module to convert Google Docs to respec.
Works for my current draft.
Nice. Seems like a great way to initially collaborate on a spec just
to get things started.
Sandro Hawke
2018-08-27 04:36:17 UTC
Permalink
Post by Marcos Caceres
Post by Sandro Hawke
I just wrote a little NodeJS module to convert Google Docs to respec.
Works for my current draft.
Nice. Seems like a great way to initially collaborate on a spec just
to get things started.
Yeah, and I'm using it for a CG Report, which is a bit different from a
spec.  I expect the gdocs annotation style will be good for the group.

    -- Sandro

Loading...