similar to: R Code and the Pygments Python SyntaxHighlighter

Displaying 20 results from an estimated 900 matches similar to: "R Code and the Pygments Python SyntaxHighlighter"

2011 Feb 07
8
Pygments
The Pygments highlighter supports many more languages than CodeRay. Pygments is written in Python, but I''ve seen non-Python projects use it (Jekyll, Pygments). There''s also this: https://github.com/nex3/rb-pygments Any idea how much work it would be to add Pygments support to Webgen?
2013 Nov 25
0
[LLVMdev] Language Reference bug?
On Sun, Nov 24, 2013 at 10:19 PM, Mikael Lyngvig <mikael at lyngvig.org> wrote: > Hi, > > The language reference uses "::" many places where it seems it should be > using ".. code-block:: llvm". The result is that Sphinx does not colorize > these samples. > > Should I fix this? Or is it purposeful? > Could you give an example of what you are
2020 Jan 23
2
[cfe-dev] Phabricator -> GitHub PRs?
> On Jan 23, 2020, at 08:37, David Greene via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hubert Tong <hubert.reinterpretcast at gmail.com> writes: > >>> I read this as the refresh being an entirely new GitHub PR. Is that >>> right? Normally I would expect the same PR to be used but the rebase >>> would cause a force-push of the branch
2013 Nov 25
2
[LLVMdev] Language Reference bug?
Hi, The language reference uses "::" many places where it seems it should be using ".. code-block:: llvm". The result is that Sphinx does not colorize these samples. Should I fix this? Or is it purposeful? Also, anybody but me that has noticed that Sphinx does not always colorize things even if you put the proper ".. code-block:: llvm" in front? If it is a known
2009 Dec 05
1
R brush for SyntaxHighlighter
Hello, I've written a brush for R for the SyntaxHighlighter JavaScript library. It allows you to display R code on a web page with the proper syntax highlighting. It's available here: http://demitri.com/code Comments and suggestions for improvement are welcome! Cheers, Demitri
2010 Dec 02
2
Any way to get syntax-highlighted code blocks with Text::MultiMarkdown?
Hello, I'm using Text::MultiMarkdown in my website, and I would like to know if there is any way to get syntax highlighting in code blocks. Thanks, -Mike Doherty
2016 Sep 09
3
Different results for tan(pi/2) and tanpi(1/2)
The same argument would hold for tan(pi/2). I don't say the result 'NaN' is wrong, but I thought, tan(pi*x) and tanpi(x) should give the same result. Hans Werner On Fri, Sep 9, 2016 at 8:44 PM, William Dunlap <wdunlap at tibco.com> wrote: > It should be the case that tan(pi*x) != tanpi(x) in many cases - that is why > it was added. The limits from below and below of the
2019 May 08
2
failed to build llvm since 25de7691a0e27c29c8d783a22373cc265571f5e9 on AMD platform
Hi we observed that below errors occur on AMD platform since 25de7691a0e27c29c8d783a22373cc265571f5e9 root at lkp-opteron1 /opt/rootfs/llvm_project/src/build# cmake -DCMAKE_BUILD_TYPE=release -DLLVM_ENABLE_PROJECTS=clang -G "Unix Makefiles" ../llvm -DCMAKE_INSTALL_PREFIX=/opt/cross/ -- clang project is enabled -- clang-tools-extra project is disabled -- compiler-rt project is disabled
2010 Aug 09
1
[LLVMdev] [RFC] Moving to Sphinx for LLVM and friends documentation (with partial implementation (in both 10pt and 12pt font)).
Michael, The benefits of Sphinx sound nice but one comment: The main page and the tables of contents in the other pages (at least the ones I looked at: Getting Started; Lang Ref) are so long and sparse that it is difficult to get the big picture of what is there and even to find a document unless you know what to search for. The originals were much more compact and so much better in this regard.
2016 Sep 09
3
Different results for tan(pi/2) and tanpi(1/2)
As the subject line says, we get different results for tan(pi/2) and tanpi(1/2), though this should not be the case: > tan(pi/2) [1] 1.633124e+16 > tanpi(1/2) [1] NaN Warning message: In tanpi(1/2) : NaNs produced By redefining tanpi with sinpi and cospi, we can get closer: > tanpi <- function(x) sinpi(x) / cospi(x) > tanpi(c(0, 1/2, 1, 3/2, 2))
2019 May 09
3
failed to build llvm since 25de7691a0e27c29c8d783a22373cc265571f5e9 on AMD platform
LKP framework can guarantee that all the software environment are same on AMD and INTEL platform. INTEL platform always work well, after revert this patch, AMD works well. we tried below commit on AMD. 1) 25de7691a0e27c29c8d783a22373cc265571f5e9: bad 2) a82235843b102202766115e10003c9465a8b83ae: good the error logs(build/CMakeFiles/CMakeError.log) has no difference b/w 1) and 2) on AMD platform
2008 Apr 01
2
Applying rbind() to a sequence of data frame names
I have a set of data frames ds1, ds2, ... each having the same columns and column names: ds1 <- data.frame(x=c(1,2,3,4), y=c(5,6,7,8)) ds1 <- data.frame(x=c(9,10,11,12), y=c(13,14,15,16)) ... and I would like to combine them into just one data frame like ds <- rbind(ds1, ds2, ...) Because there are so many of them, I will have to use a character array nms <-
2013 Jan 22
0
[LLVMdev] LLVM TblGen syntax hightlighter
Hi all, LLVM now is using Sphinx to generate it's documentation. For syntax hightlighting, Sphinx uses Pygments [2]. Pygments already support LLVM IR syntax, however it doesn't support LLVM tblgen. I wrote up a Pygments extension that can be incorpreated in Sphinx [3]. After installing the extension, you can write the code below and get hightlight tblgen syntax. .. code-block:: tblgen
2010 Aug 09
5
[LLVMdev] [RFC] Moving to Sphinx for LLVM and friends documentation (with partial implementation (in both 10pt and 12pt font)).
Moving the LLVM Documentation to Sphinx ======================================= As a few of you that are on IRC already know, I have experimented with moving the LLVM documentation over to `Sphinx <http://sphinx.pocoo.org/index.html>`__ from the current html form. I have moved almost all of the content over and have begun "Sphinxifying" the documentation to correct links and make
2012 Jun 16
2
[LLVMdev] RFC: "Building with MinGW on Windows" (DOC, NEW)
Here's the first part of my Windows set up documentation. This one only covers the process of setting up a normal box for building LLVM and Clang. A later document, which will follow in a few days, will cover how to set up a buildbot slave. As usual: I'm not a psychic, so if you have opinions regarding or suggestions on this document, please feel free to share them with me (on this
2012 Nov 27
4
[LLVMdev] [RFC] Removal of 'deplibs'?
Hi all, Did you know that there is a 'deplibs' keyword? Neither did I. It looks like it's not really used for much. We don't document it in the Language Reference. The only support I see if for reading/writing bitcode and manipulating modules. There's a bunch of code that could be removed if we could get rid of this. Does anyone use this thing? Does anyone mind if I nuke it?
2020 Jan 22
3
[cfe-dev] Phabricator -> GitHub PRs?
On Wed, Jan 22, 2020 at 4:40 PM David Greene <greened at obbligato.org> wrote: > Hubert Tong <hubert.reinterpretcast at gmail.com> writes: > > > The update process in Phab in rather manual and it does lead to more > noise. > > The GitHub force push risks loss of context for earlier comments (not > just > > in terms of display, like viewing older comments
2016 Nov 14
2
Rewriting opt-viewer in C++
Again I am still undecided which way this should go but I was also wondering about the speed difference if we used the C-based parser in PyYAML (http://pyyaml.org/wiki/LibYAML <http://pyyaml.org/wiki/LibYAML>). > On Nov 13, 2016, at 12:19 AM, Adam Nemet <anemet at apple.com> wrote: > > Hi Bob, > > I am glad you’re finding opt-viewer useful. I am generally fine this
2009 Feb 25
5
[Cucumber] pretty html output?
Cucumberists (and RSpec Classic users ;): How can we convert a Cucumber feature file into HTML with syntax highlighting? Not the test-runner output; that''s preprocessed so it does not match the input file... Tx! -- Phlip
2019 Dec 20
4
Upgrading from Debian Stretch to Buster, Van Belle package
Ah, ok, apt-get remove libldb1 ldb-tools Then try again : apt install samba winbind acl The replacement of libldb1 to libldb2 is missing something. I'll have a look at that. Greetz, Louis > -----Oorspronkelijk bericht----- > Van: Lmloge [mailto:lmloge at orange.fr] > Verzonden: vrijdag 20 december 2019 13:15 > Aan: L.P.H. van Belle > CC: samba at lists.samba.org