<div>Ah - but though MarkDown is largely used for presentational purposes, there’s a sense in which it is almost as well structured as (e.g.) USFM. It’s just that the structures are more general than particular to Bibles.&nbsp;</div><div><br></div><div>Take headings, e.g.</div><div><br></div><div># is equivalent to \s1</div><div>## is equivalent to \s2</div><div>### is equivalent to \s3</div><div><br></div><div>Likewise some of the other MarkDown features.&nbsp;</div><div><br></div><div>It’s much easier to edit than HTML.&nbsp;</div><div>In fact, that’s the whole raison d’être.&nbsp;</div><div><br></div><div>IMHO, it ought to be feasible to go straight from an MD file to one of the input formats we can use with a Sword utility for module build.&nbsp;</div><div><br></div><div>Using HTML as an intermediate stage seems rather counterproductive to me.&nbsp;</div><div><br></div><div>David</div><div><br></div><div id="protonmail_mobile_signature_block">Sent from ProtonMail Mobile</div> <div><br></div><div><br></div>On Wed, Feb 20, 2019 at 17:30, Greg Hellings &lt;<a href="mailto:greg.hellings@gmail.com" class="">greg.hellings@gmail.com</a>&gt; wrote:<blockquote class="protonmail_quote" type="cite">  <div dir="ltr"><div dir="ltr">As with most such proposals, going from a presentational markup to a semantic markup is neither straightforward, nor guaranteed any measure of particular success. Even just looking at the first few documents at the URL you've provided, the automation into OSIS would be non-trivial. The first two documents are completely bespoke, indicating author, title, table of contents, etc using completely arbitrary presentational markup with no inherent semantic meaning that I can discern.</div><div dir="ltr"><br></div><div>The individual chapters and so forth would be relatively straightforward, even though the markup is, again, completely arbitrary. As such, any conversion utility written for this would be completely bespoke to the particular documents being translated.</div><div><br></div><div>Further, I could very much be mistaken but I thought that GenBooks were not available from OSIS. I thought OSIS was only used for Scripture/Commentary markup that follows a chapter:verse arrangement. I thought we were stuck using IMP format with raw, ThML, or RTF input for formatting. If so, conversion from these files into a format like that would be very straightforward. MD-&gt;HTML renderers already exist, and one would just need to iterate the files, read their content into such a renderer, and output the resulting IMP format file.</div><div><br></div><div>--Greg<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 20, 2019 at 4:59 AM David Haslam &lt;<a href="mailto:dfhdfh@protonmail.com">dfhdfh@protonmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">   <div>Here’s an example of a source text in MarkDown format.&nbsp;</div><div><br></div><div><a href="https://github.com/DavidHaslam/From-Death-Into-Life">https://github.com/DavidHaslam/From-Death-Into-Life</a><br></div><div><br></div><div>FROM DEATH INTO LIFE</div><div>by William Haslam (1818-1905)</div><div><br></div><div>[no relation]</div><div><br></div><div>If we could readily convert this to OSIS by a suitable script, then we could distribute the work as a GenBook module.&nbsp;</div><div><br></div><div>It’s just one sample of stuff I was involved with earlier this century well before I became a CrossWire volunteer.&nbsp;</div><div><br></div><div>Who would like to volunteer?</div><div><br></div><div>Best regards.&nbsp;</div><div><br></div><div>David</div><div><br></div><div id="gmail-m_788501531887795293protonmail_mobile_signature_block">Sent from ProtonMail Mobile</div> <div><br></div><div><br></div>On Sat, Feb 16, 2019 at 17:22, David Haslam &lt;<a href="mailto:dfhdfh@protonmail.com">dfhdfh@protonmail.com</a>&gt; wrote:<blockquote class="gmail-m_788501531887795293protonmail_quote" type="cite">   <div>We could probably vastly increase our available resources if someone were able to develop a Sword utility to convert MarkDown file[s] to a GenBook module.&nbsp;</div><div><br></div><div>Anyone up to this?</div><div><br></div><div>Best regards</div><div><br></div><div>David</div><div><br></div><div id="gmail-m_788501531887795293protonmail_mobile_signature_block">Sent from ProtonMail Mobile</div></blockquote><div><br></div><div><br></div>_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" rel="noreferrer">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page</blockquote></div></div>
</blockquote><div><br></div><div><br></div>