text: //
  //  hoedown_html_patch.h
  //  MacDown
  //
  //  Created by Tzu-ping Chung  on 14/06/2014.
  //  Copyright (c) 2014 Tzu-ping Chung . All rights reserved.
  //
  
  #ifndef MacDown_hoedown_html_patch_h
  #define MacDown_hoedown_html_patch_h
  
  static unsigned int HOEDOWN_HTML_USE_TASK_LIST = (1 << 4);
  
  typedef struct hoedown_buffer hoedown_buffer;
  
  typedef struct hoedown_html_renderer_state_extra {
  
      /* More extra callbacks */
      hoedown_buffer *(*language_addition)(const hoedown_buffer *language,
                                           void *owner);
      void *owner;
  
  } hoedown_html_renderer_state_extra;
  
  void hoedown_patch_render_blockcode(
      hoedown_buffer *ob, const hoedown_buffer *text, const hoedown_buffer *lang,
      const hoedown_renderer_data *data);
  
  void hoedown_patch_render_listitem(
      hoedown_buffer *ob, const hoedown_buffer *text, hoedown_list_flags flags,
      const hoedown_renderer_data *data);
  
  #endif
  