	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=MIC01-2%3A+Hacking+on+a+pandoc+reader+and+writer+for+Bike&amp;rft.aulast=Yee&amp;rft.aufirst=Raymond&amp;rft.subject=Uncategorized&amp;rft.source=Hypotyposis+on+a+Good+Day&amp;rft.date=2023-09-19&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=https://hypotyposis.net/blog/2023/09/19/mic01-2-hacking-on-a-pandoc-reader-and-writer-for-bike/&amp;rft.language=English"></span>
	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=MIC01-2%3A+Hacking+on+a+pandoc+reader+and+writer+for+Bike&amp;rft.aulast=Yee&amp;rft.aufirst=Raymond&amp;rft.subject=Uncategorized&amp;rft.source=Hypotyposis+on+a+Good+Day&amp;rft.date=2023-09-19&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=https://hypotyposis.net/blog/2023/09/19/mic01-2-hacking-on-a-pandoc-reader-and-writer-for-bike/&amp;rft.language=English"></span>
{"id":1532,"date":"2023-09-19T08:53:07","date_gmt":"2023-09-19T15:53:07","guid":{"rendered":"https:\/\/hypotyposis.net\/blog\/?p=1532"},"modified":"2023-09-20T17:08:30","modified_gmt":"2023-09-21T00:08:30","slug":"mic01-2-hacking-on-a-pandoc-reader-and-writer-for-bike","status":"publish","type":"post","link":"https:\/\/hypotyposis.net\/blog\/2023\/09\/19\/mic01-2-hacking-on-a-pandoc-reader-and-writer-for-bike\/","title":{"rendered":"MIC01-2: Hacking on a pandoc reader and writer for Bike"},"content":{"rendered":"<p>When I get deep into programming, I find it difficult to do anything else that is intellectually demanding. Yesterday, I wrote briefly about the <a href=\"https:\/\/hypotyposis.net\/2023\/09\/18\/mic01-1-myinfocamp-kickoff\/\">overall context for MyInfoNet<\/a> and how I want to focus on automating system clipboards and browsers. However, what I am actually hacking on today is taking the next steps on moving text between two applications: Obsidian and Bike.  Using some technical shorthand, I <a href=\"https:\/\/support.hogbaysoftware.com\/t\/blog-post-scientific-refereeing-using-bike-outliner\/5453\/21\">posted last week<\/a> a paragraph explaining what I'm up to: <\/p>\n<blockquote>\n<p>Thanks for this really interesting thread. I have some work in progress (that\u2019s not ready for prime time) that is related to the work here: I have a rough draft of a Python library that converts .bike documents into the\u00a0<a href=\"https:\/\/pandoc.org\/using-the-pandoc-api.html\">Pandoc JSON representation of its AST<\/a>\u00a0using\u00a0<a href=\"https:\/\/lxml.de\/\">lxml<\/a>\u00a0and\u00a0<a href=\"http:\/\/scorreia.com\/software\/panflute\/\">panflute<\/a>. I\u2019ve put my draft in my own\u00a0<code>rdhyee_utils<\/code>\u00a0Python library \u2013 so it\u2019s rough and not been packaged to useful to others yet:\u00a0<a href=\"https:\/\/github.com\/rdhyee\/rdhyee_utils\/blob\/master\/rdhyee_utils\/bike\/bikeformat.py\">https:\/\/github.com\/rdhyee\/rdhyee_utils\/blob\/master\/rdhyee_utils\/bike\/bikeformat.py<\/a>. You can see also my work so far in writing a Python library to talk to Bike using AppleScript, or my precisely the deprecated, though still very useful,\u00a0<a href=\"https:\/\/github.com\/hhas\/appscript\">appscript\u00a01<\/a>:\u00a0<a href=\"https:\/\/github.com\/rdhyee\/rdhyee_utils\/blob\/master\/rdhyee_utils\/bike\/__init__.py\">https:\/\/github.com\/rdhyee\/rdhyee_utils\/blob\/master\/rdhyee_utils\/bike\/<strong>init<\/strong>.py<\/a>. More later once I get my work polished up (and after I get a draft on a pandoc bike\u00a0<em>writer<\/em>)<\/p>\n<\/blockquote>\n<p>I was hoping to narrate the technical details of my programming as I worked but didn't end up doing so. (I'm still mastering my writing and programming workflow.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When I get deep into programming, I find it difficult to do anything else that is intellectually demanding. Yesterday, I wrote briefly about the overall context for MyInfoNet and how I want to focus on automating system clipboards and browsers. &hellip; <a href=\"https:\/\/hypotyposis.net\/blog\/2023\/09\/19\/mic01-2-hacking-on-a-pandoc-reader-and-writer-for-bike\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-1532","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7I6qs-oI","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/hypotyposis.net\/blog\/wp-json\/wp\/v2\/posts\/1532","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hypotyposis.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hypotyposis.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hypotyposis.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hypotyposis.net\/blog\/wp-json\/wp\/v2\/comments?post=1532"}],"version-history":[{"count":2,"href":"https:\/\/hypotyposis.net\/blog\/wp-json\/wp\/v2\/posts\/1532\/revisions"}],"predecessor-version":[{"id":1534,"href":"https:\/\/hypotyposis.net\/blog\/wp-json\/wp\/v2\/posts\/1532\/revisions\/1534"}],"wp:attachment":[{"href":"https:\/\/hypotyposis.net\/blog\/wp-json\/wp\/v2\/media?parent=1532"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hypotyposis.net\/blog\/wp-json\/wp\/v2\/categories?post=1532"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hypotyposis.net\/blog\/wp-json\/wp\/v2\/tags?post=1532"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}