mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-11-23 05:40:07 +00:00
Creates a staging function `elements_to_md` to convert lists of `Elements` to markdown strings (or a markdown file). Includes unit tests as well as ingest tests and expected output fixtures.
26 lines
728 B
Markdown
26 lines
728 B
Markdown
# Downloadify Example
|
|
More info available at the Github Project Page
|
|
# Downloadify Invoke Script For This Page
|
|
Downloadify.create('downloadify',{
|
|
filename: function(){
|
|
return document.getElementById('filename').value;
|
|
},
|
|
data: function(){
|
|
return document.getElementById('data').value;
|
|
},
|
|
onComplete: function(){
|
|
alert('Your File Has Been Saved!');
|
|
},
|
|
onCancel: function(){
|
|
alert('You have cancelled the saving of this file.');
|
|
},
|
|
onError: function(){
|
|
alert('You must put something in the File Contents or there will be nothing to save!');
|
|
},
|
|
swf: 'media/downloadify.swf',
|
|
downloadImage: 'images/download.png',
|
|
width: 100,
|
|
height: 30,
|
|
transparent: true,
|
|
append: false
|
|
}); |