Min RK
c52b70561c
dblclick to unconfine on images in html output
11 years ago
Min RK
4efc68542d
another stab at confining images to page width
...
- double-click toggles 'raw' size for large image output
- uses max-width on both markdown and output images
- `height: auto` fixes aspect ratio problems caused by using max-width alone
- img.unconfined disables max-width confinement
11 years ago
Robert Smith
e539734f5a
Remove image resizer.
11 years ago
Abe Guerra
0cfbf0f7d5
[bug: 5544] Fixed rendering of URL in append_stream function.
11 years ago
Min RK
f1828497e5
only show prompt overlay if there's a prompt
...
on which to overlay
11 years ago
Min RK
a5218e0cae
fix initial collapsed state on load
...
OutputArea.collapsed should only be assigned inside expand/collapse methods
setting `collapsed = false` when it actually is collapsed prevents expand from having any effect,
resulting in apparently invisible output.
11 years ago
Matthias Bussonnier
730c0b8822
Merge pull request #7522 from minrk/store-scroll
...
remember and persist manual scroll state.
11 years ago
Jonathan Frederic
39b99340ed
Finished changing output widget logic.
11 years ago
Min RK
ab221f09f9
toggle scroll from auto based on current scroll
...
rather than always `false`
11 years ago
Min RK
66450cf2b3
allow users to set scroll state
...
and persist that state in metadata.
When user toggles the scroll state,
the choice is remembered and persisted.
There are three states:
- 'auto' (default, only state in master)
- true (always scroll if above minimum_scroll_threshold)
- false (never scroll)
true or false is persisted in cell.metadata.scrolled.
"auto" may be persisted, but isn't currently because it's the default state.
11 years ago
Min RK
5f08e50830
discard invalid stream output
...
If a stream output is missing text,
log an error and discard the broken message
so it doesn't get into the notebook.
11 years ago
Min RK
d2335ab000
handle missing data, metadata in validate_mimebundle
11 years ago
Jonathan Frederic
b37c5d21d0
When executing a cell, clear output and ignore queued animations.
11 years ago
Matthias Bussonnier
1dfdda6e97
binary or is rare in JS
11 years ago
Nicholas Bollweg (Nick)
83757b6a0e
moving typeset to utils, usage in cell and outputarea
11 years ago
Jonathan Frederic
b53386b37b
Ran function comment conversion tool
11 years ago
Thomas Kluyver
eb14a13843
Merge pull request #6991 from minrk/unhandled-types
...
Handle unrecognized output and cell types
11 years ago
Min RK
88219df674
Preserve nbformat_minor from the future
...
warn on click of unrecognized elements, rather than on load.
11 years ago
Min RK
bb23105fdd
Handle unrecognized outputs and cells from the future
11 years ago
Thomas Kluyver
5990012062
Fix conversion of input area to stream output
...
Closes gh-6983
11 years ago
Min RK
da80d64e45
Merge pull request #6955 from Carreau/typeset
...
Actually typeset latex
11 years ago
Jonathan Frederic
d033d6c1ea
Make output widget reactive.
11 years ago
Matthias Bussonnier
fe4bae10ac
Actually typeset latex
11 years ago
MinRK
29e49329e2
use CodeMirror.runMode to highlight in markdown
...
instead of highlight.js
11 years ago
MinRK
53ef8e1e1e
remove unused OuptutArea.rename_keys
11 years ago
MinRK
6ca260e611
output[mime/type] -> output.data[mime/type] in javascript
11 years ago
MinRK
a50042745f
semicolons, you guys!
11 years ago
MinRK
09acc6c854
msgspec: stream.data -> stream.text
11 years ago
MinRK
14cfb2efc1
s/prompt_number/execution_count in nbformat 4
11 years ago
MinRK
07079095a8
update html/js to nbformat 4
11 years ago
MinRK
f69b1b15a3
msgspec 5: stream.data -> stream.text
11 years ago
Ben Duffield
aa8df62b81
add marked to require dependencies
12 years ago
MinRK
e17c636e18
coalesce stream output in the notebook
...
This merges consecutive outputs on one stream into a single output.
Essentially, it applies the same merging that we do visually to the content stored in the notebook document.
This results in a massive performance improvement in load-time and storage size
for notebooks that have many calls to `sys.stdout.flush()`.
12 years ago
Jonathan Frederic
2478fac032
More requirejs fixes
12 years ago
Jonathan Frederic
ee76005bc2
More review changes
12 years ago
Jonathan Frederic
0edfdbc703
Return dicts instead of classes,
...
this makes require.js more Python import like.
12 years ago
Jonathan Frederic
0e9e1dd5a3
MWE,
...
Fixed LOTS of bugs
12 years ago
Jonathan Frederic
516958ac07
Almost done!
...
Still need to check IPython uses in the widgets.
12 years ago
Jonathan Frederic
8d511b2ff5
Finished moving code into final(?) resting modules
12 years ago
Jonathan Frederic
336a49eb18
Merge pull request #5995 from Carreau/clean-backward-compat
...
remove backward compat `container` in output area as planed.
12 years ago
Matthias BUSSONNIER
db5b58360e
remove backward compat `container` in output area as planed.
12 years ago
MinRK
ad4cb2c35a
fix stream output created by raw_input
...
was using incorrect 'name', when it should have been 'stream',
creating invalid content in notebook documents.
12 years ago
Jonathan Frederic
d88daf1bb7
Ran jdfreder/bootstrap2to3
12 years ago
MinRK
42ae83da16
add shim for double-serialized JSON
...
msgspec gives unserialized JSON,
nbformat v3 wants JSON strings.
12 years ago
MinRK
de0b7f140c
move pyout/execute_result and pyerr/error transforms to to/fromJSON
...
like the mime-type maps
12 years ago
MinRK
98c408cbd1
support password in input_request
12 years ago
MinRK
5fb9837f5a
pyerr -> error
12 years ago
MinRK
38c76aa913
pyout -> execute_result
...
nbformat and nbconvert are not affected
12 years ago
Min RK
86cd81014f
Merge pull request #5648 from andrewjesaitis/ticket4756
...
Adds markdown formatting to output cells
12 years ago
Min RK
048a36e4fd
Merge pull request #5523 from jdfreder/i5521
...
Make SVGs resizable in the NB
12 years ago