Comments (14)
I am not sure why but maybe #78 helps?
from design.
Yep, I think it's because the code is overindented
from design.
Doesn't fix it though...
from design.
triple-tilde before and after the code segment causes Jekyll to make a nice
code block, but it doesn't have syntax highlighting
On Thu, Jan 28, 2016 at 3:16 PM, Dirk Thomas [email protected]
wrote:
Doesn't fix it though...
—
Reply to this email directly or view it on GitHub
#77 (comment).
from design.
triple-tilde with "c" after it, like this:
printf("hello, world\n");
seems to turn on syntax highlighting, but also brings in wonky line numbers
without spaces after them.
On Thu, Jan 28, 2016 at 3:20 PM, Morgan Quigley [email protected]
wrote:
triple-tilde before and after the code segment causes Jekyll to make a
nice code block, but it doesn't have syntax highlightingOn Thu, Jan 28, 2016 at 3:16 PM, Dirk Thomas [email protected]
wrote:Doesn't fix it though...
—
Reply to this email directly or view it on GitHub
#77 (comment).
from design.
Apparently you can suppress line numbers by editing a syntax.css
file
https://demisx.github.io/jekyll/2014/01/13/improve-code-highlighting-in-jekyll.html
from design.
Trying to figure out how to preview a github/Jekyll markdown page based on a branch of the source repository; I think the best way is to set up a local instance of the page based on a branch:
http://jekyllrb.com/docs/github-pages/#project-page-url-structure
from design.
i got it working by apt-get install jekyll
then cloning the repo,
checking out the branch you want, and then running this from the checkout
root:
jekyll --server --baseurl ''
then you point firefox to http://localhost:4000 and it works
On Thu, Jan 28, 2016 at 3:29 PM, Jackie Kay [email protected]
wrote:
Trying to figure out how to preview a github/Jekyll markdown page based on
a branch of the source repository; I think the best way is to set up a
local instance of the page based on a branch:http://jekyllrb.com/docs/github-pages/#project-page-url-structure
—
Reply to this email directly or view it on GitHub
#77 (comment).
from design.
There's a script ./test_local_deploy.sh and it will run the test server inside docker and expose it on port 4000. It will live update when you change content in files.
from design.
@tfoote, where do I get the ros_tutorials image? That script is failing because docker doesn't know where to find it.
from design.
Tully helped me out with updating the Dockerfile, but I still can't view the instance hosted by docker on localhost:4000. I think there's something screwy happening with my iptables rules.
from design.
Suggest just giving up on syntax highlighting for now.
from design.
#80 will hopefully just render as non-highlighted text. But we'll have to run it through the correct version of the Jekyll pipeline first to make sure it looks OK.
from design.
No need to validate #80 - generic code blocks do work.
from design.
Related Issues (20)
- Middleware alternatives to DDS HOT 4
- fix login by using new GitHub methods HOT 1
- Changes between ROS 1 and ROS 2 design doc is out of date HOT 1
- Add support for fully qualified names in message defnitions
- Add design document on configuring QoS at startup time HOT 4
- Add support for preemption in actions HOT 39
- Update XML schema definition for launch files HOT 2
- Add [ros2 node kill <node_name>] and [ros2 node kill --all] (similar to [rosnode kill] from ros1) HOT 23
- Article numbering is not clear HOT 3
- Topic name constraints discrepancy HOT 9
- Documentation linter HOT 5
- zero-copy: shared memory using external mapped buffer HOT 3
- is intra-process communication meta-message transfered via DDS? HOT 4
- Logging Design Document
- Update Launch XML Schema HOT 3
- can we add a "date written" to the design docs? HOT 2
- Map char[N] to str in Python
- Why must field names of messages and services be lowercase? HOT 4
- how you configured opentcs nena ros2 adapter to your agv? HOT 1
- where is the discauss of register callback and run callback? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from design.