Sha256: 92ea7a5c23c4b12126d6c7a6b80d3bfa01cc905c29a026f41dde588ee47054b5

Contents?: true

Size: 414 Bytes

Versions: 5

Compression:

Stored size: 414 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 %>
         }
      } );
      
    });


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

</script>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kramdown-service-1.0.0 lib/kramdown/service/views/_editor_setup.erb
kramdown-service-0.3.0 lib/kramdown/service/views/_editor_setup.erb
kramdown-service-0.2.0 lib/kramdown/service/views/_editor_setup.erb
kramdown-service-0.1.0 lib/kramdown/service/views/_editor_setup.erb
kramdown-service-0.0.1 lib/kramdown/service/views/_editor_setup.erb