Brian E. Granger
c888f9d3e4
Cleaning up console log messages.
12 years ago
Brian E. Granger
d83b4ece91
Removing old method on RawCell - just use the base class.
12 years ago
Brian E. Granger
11493ca042
Don't always call focus_cell in Cell.command_mode.
...
The focus_cell should only be called when a user enters
command mode by pressing ESC. Calling focus_cell was causing
jumps when command mode was entered through a mouse click.
12 years ago
Brian E. Granger
b244518871
Special handling for CM's vim keyboard mapping.
12 years ago
Brian E. Granger
0e4c4887aa
TextCell.unrender should not focus CM/select.
12 years ago
Brian E. Granger
b3322fc2d5
Ongoing work on cell splitting.
12 years ago
Brian E. Granger
c1166ea98a
Lots of updates and changes.
...
* Cleaning up the code mirror event handlers.
* Adding logic to prevent calling Notebook.command_mode on cell
focusout.
* Fixing bugs.
12 years ago
Brian E. Granger
40977e545b
Semi working version of basic dual mode UX.
...
As of this point there are lots of things that don't work, but
most of the basic dual mode interactions do work fine.
12 years ago
Brian E. Granger
2a530ff30d
More work on the dual mode UX.
12 years ago
Brian E. Granger
54088a0105
Adding new logic to cells.
12 years ago
Matthias Bussonnier
4039e246fc
Merge pull request #4306 from minrk/raw-cell-metadata
...
add raw_mimetype metadata to raw cells
12 years ago
Brian E. Granger
79a12cf907
Adding prompt area to non-CodeCells to indent content.
...
This is a reponse to the problem of having really long lines in
Markdown cells, which makes the content difficult to read. Users
want wide code cells, so we don't want to narrow everything. The
solution here is to give a prompt area to the heading/md cells
to narrow their content area slightly. The only problem is that
this makes it more difficult to distinguish between output
and md content that follows that output. The solve this, we are
adding a narrow line between output and following md.
12 years ago
MinRK
7458f12dca
tweak raw placeholder
12 years ago
MinRK
9fc9580256
set cell_type properly first-class in the Cell object
...
- in toJSON
- don't clobber existing value in Cell constructor
12 years ago
MinRK
dd3a1866ff
give Raw Cells a placeholder
...
and make sure cell_type is defined *before* calling TextCell.apply
12 years ago
MinRK
2cf6921166
HeadingCells are not splittable or mergeable
...
closes #4200
13 years ago
Jessica B. Hamrick
3001ef8535
Parse markdown correctly when mathjax is disabled
13 years ago
MinRK
ef6b991881
don't set target on internal markdown links
...
simple in-page anchor-nav shouldn't open a new tab.
13 years ago
MinRK
f9dd129e1c
remove notebook read-only view
...
it is largely broken, and had problematic security issues.
13 years ago
Matthias BUSSONNIER
38fc90a1b0
add mising semicolon
13 years ago
Matthias BUSSONNIER
42fb90acac
patch header-cell and use-strict
13 years ago
Matthias BUSSONNIER
7a452f10ca
statelessify matjaxutils
...
stateless-ification of function that was using module level
variable to share data.
Now varaible are passed around, and usage of replace math
require user to pass a return value of remove_math around
13 years ago
MinRK
47061360da
remove unnecessary heading-anchor
...
residue from when the heading text itself was a link
the id is on the header tag itself,
and the link is anchor-link
13 years ago
MinRK
185769d1b9
merge heading lines
...
markdown headings must be a single line
13 years ago
MinRK
b5f0be18de
truncate invalid multi-line headers
13 years ago
MinRK
45d0dd0a45
Markdown in heading cells (take 2)
...
small typo prevented the previous implementation from working.
This also moves the rendering to the 'render' method,
away from set_rendered.
closes #3053
(again)
13 years ago
Matthias BUSSONNIER
1fbf5a6a2c
Revert "allow markdown in heading cells"
...
This reverts commit 8c83c3b958b3c9f65d9446f69b2704a0b263b07b.
13 years ago
Matthias Bussonnier
1f2c975c84
Merge pull request #3531 from minrk/headingmath
...
allow markdown in heading cells
13 years ago
MinRK
0c6fe836ca
open markdown links in new tabs
...
restores earlier behavior lost when we switched to marked.
closes #3439
13 years ago
MinRK
d1a8c06c91
allow markdown in heading cells
...
italics, bold, math, etc.
closes #3053
13 years ago
MinRK
cf726d6a40
mv IPython.html.notebook -> IPython.html
13 years ago