Yihui Xie
07c8f0c4b7
use skipStartupTypeset: true for MathJax config, and call MathJax.Hub.Typeset() later
...
setTimeout() is necessary for uiOutput(); we need to wait for a short while before typesetting math, otherwise two bad things can happen:
1. a math expression may be rendered twice (static output)
2. it is not rendered at all (dynamic ui output)
so the compromise is to typeset math after a short while when the document is ready; 200 ms is an arbitrary choice here
2014-03-18 14:24:23 -05:00
Yihui Xie
5c34aa0bb5
remove includeMathJax() and use withMathJax() instead, per suggestion of @jcheng5
2014-02-17 18:52:25 -06:00
Yihui Xie
c0f7ba9d46
use Rd2roxygen to convert the two manually written Rd files to roxygen comments, so that all Rd files are automatically generated from roxygen2 now
2014-02-11 22:59:37 -06:00
Yihui Xie
3530871560
strip white spaces
2014-02-11 22:59:37 -06:00
Yihui Xie
e9ae16e534
closes #25 : a new function includeMathJax()
2014-02-11 15:59:23 -06:00
Joe Cheng
3b90eed89f
Add check for staticdocs index correctness
2014-02-05 13:45:25 -08:00
Jonathan McPherson
41b292b45b
complete refactoring of raw text output to tags$... methods
2014-01-06 13:19:07 -08:00
Jonathan McPherson
af9be9cae8
use tags functions for writing app info block
2014-01-06 11:03:53 -08:00
Jonathan McPherson
ccfaea64c5
simplify & clean up construction of markdown content
2014-01-06 10:38:05 -08:00
Jonathan McPherson
f0eb9d48c9
show license beneath code
2013-12-30 14:31:45 -08:00
Jonathan McPherson
0ac284009e
add Readme.md files to most examples
2013-12-30 13:05:54 -08:00
Jonathan McPherson
712f18f4e8
clean up some comments and accidentally introduced whitespace changes
2013-12-23 15:04:05 -08:00
Jonathan McPherson
5ac09180a5
don't emit superfluous newline at beginning of .R files
2013-12-19 14:03:07 -08:00
Jonathan McPherson
c8bb122557
hide entire well when app doens't have metadata in sxs mode
2013-12-19 12:21:17 -08:00
Jonathan McPherson
bcef603a36
new layout: remove top bar, show app info by readme
2013-12-19 11:35:27 -08:00
Jonathan McPherson
6d5f06a61d
initial support for showcase mode from DESCRIPTION (not complete)
2013-12-18 17:06:31 -08:00
Jonathan McPherson
3e00e2ad58
show contents of global.R if it exists
2013-12-18 15:13:11 -08:00
Jonathan McPherson
cad2be5e53
always use tabs to show code; show readme alongside code
2013-12-18 13:41:15 -08:00
Jonathan McPherson
58fe5f263f
nicer code tabs in code-alongside mode
2013-12-17 20:18:22 -08:00
Jonathan McPherson
79ec6845f8
use more bootstrap-flavored styles
2013-12-17 16:10:53 -08:00
Jonathan McPherson
0f81ba8307
use minified jquery ui
2013-12-17 15:09:26 -08:00
Jonathan McPherson
a30543b035
use rstudio fork of highlight.js
2013-12-17 14:51:44 -08:00
Jonathan McPherson
7ff47c8c51
use rstudio default highlight colors
2013-12-17 13:52:17 -08:00
Jonathan McPherson
2544e29be3
use show with app / show below buttons to toggle
2013-12-17 13:16:23 -08:00
Jonathan McPherson
0f135f881a
make code position toggleable
2013-12-17 10:56:40 -08:00
Jonathan McPherson
2f1bb5e1c0
begin restricting code height and scrolling relevant portion into view
2013-12-17 10:23:27 -08:00
Jonathan McPherson
02b5f96eee
move from popup window model to side-by-side model
2013-12-17 09:00:27 -08:00
Jonathan McPherson
676affdd03
add new header-free showcase mode (use showcase=2 on query string)
2013-12-16 14:12:13 -08:00
Jonathan McPherson
5caf41c067
Merge remote-tracking branch 'origin/master' into feature/showcase-mode
2013-12-16 13:21:59 -08:00
Jonathan McPherson
58f9e89fab
restore javascript markdown formatter
2013-12-16 13:15:11 -08:00
Jonathan McPherson
f061e3486e
move showcase-specific css to its own file
2013-12-16 09:52:58 -08:00
Jonathan McPherson
d5cdaddeea
use markdown package instead of client-side md renderer
2013-12-13 16:15:10 -08:00
Jonathan McPherson
c2cf4e72f8
decouple showcase mode from app boot; factor out of shiny.js
2013-12-13 14:46:31 -08:00
Jonathan McPherson
d1bcc557f0
move showcase js to its own file; fix cross-document bug on firefox
2013-12-13 10:20:50 -08:00
Jonathan McPherson
fdb256a534
fix some animation and margin problems
2013-12-12 16:16:04 -08:00
Jonathan McPherson
62a2b57613
clarify regions of app UI vs. showcase UI
2013-12-12 15:45:39 -08:00
Jonathan McPherson
3ebef79313
refactor showcase outputs from renderPage
2013-12-12 12:16:01 -08:00
Jonathan McPherson
57393806b0
initial support for Readme.md
2013-12-12 11:47:04 -08:00
Jonathan McPherson
9f6c619401
initial support for header generated from DESCRIPTION
2013-12-12 10:28:38 -08:00
Jonathan McPherson
9659c19b23
initial support for code pop-out
2013-12-11 17:03:27 -08:00
Jonathan McPherson
296b312950
scaffolding for flashing executing outputs
2013-12-11 13:22:00 -08:00
JJ Allaire
261cb7d3cd
fix incorrect ellipses arg in hr function
2013-12-11 15:46:38 -05:00
JJ Allaire
9a7dc5ba86
add hr tag to exported html builder tags
2013-12-10 20:20:16 -05:00
Jonathan McPherson
89728164eb
highlight code with highlight.js
2013-12-10 12:11:40 -08:00
Jonathan McPherson
d0c4093f5a
use built-in parseQueryString
2013-12-10 10:46:03 -08:00
Jonathan McPherson
d7f680fb19
show ui.R and server.R files in showcase mode
2013-12-10 10:20:50 -08:00
Jonathan McPherson
10dd0d07dc
showcase mode stub controlled by showcase=1 parameter
2013-12-10 09:50:51 -08:00
Joe Cheng
92fa1dde79
Fix #21 : singleton and tags$head are not really compatible with reactiveUI
...
This commit fixes two problems:
- tags$head content was not properly hoisted into the head
of the document when UI was reactively rendered
- singletons were not respected in renderUI
This makes it possible for input/output components that rely
on JavaScript libraries to simply put their script/style
dependencies in their input/output methods. This is contrary
to previous versions of Shiny where that approach would work
unless the component only appeared in renderUI/uiOutput and
not as part of the initial page render.
2013-11-09 15:11:22 -08:00
Joe Cheng
a7ed8a006f
includeText should be HTML escaped
2013-06-18 17:07:08 -07:00
Joe Cheng
b1a0ebd531
Add includeCSS and includeScript functions
2013-06-18 17:06:34 -07:00