Sha256: 149e08b00a295639ae47a4434a8083c25ab08167a3c3585aed811b208ce53266

Contents?: true

Size: 513 Bytes

Versions: 1

Compression:

Stored size: 513 Bytes

Contents

<script>

    $(document).ready( function () {
      
      /* NB: we need to use to_json (to escape newlines in string if present etc.)
      */
 
       markdown_note_new( {
         welcome: {
           markdown: <%= @welcome_markdown.to_json %>,
           html:     <%= @welcome_html.to_json %>
         }
      } );
      
    });

/*
  <% Markdown.libs.each_with_index do |lib,i| %>
       <%= "[#{i}] - #{lib}" %>
  <% end %>
*/

/*  todo: check if loading image w/ relative path works  ??
*/

</script>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
markdown-service-1.2.0 lib/markdown/service/views/_editor_setup.erb