Skip to content

Commit

Permalink
Clarified the available options.
Browse files Browse the repository at this point in the history
  • Loading branch information
arhpreston committed Apr 18, 2012
1 parent a8aad5a commit d7f9cc6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ Initialize the editor:

##Options##

The editor can use the DOM elements you pass to it instead of initializing new ones:
The editor will accept predefined DOM elements and/or look for
elements with the default classes (see tests for examples):

$( ".markdown-input" ).markdown({
'buttonClass' : $( '#markdown-buttons' ),
'textareaClass': $( '#markdown-editor' ),
'previewClass' : $( 'markdown-preview' )
'buttons' : $( '#button-element-id' ),
'previewClass' : 'markdown-preview'
});


Expand Down

0 comments on commit d7f9cc6

Please sign in to comment.