Skip to main content
added 4 characters in body
Source Link
serenesat
  • 10k
  • 30
  • 33
  • 50

Background

IBackground
I realize that markup is implementation without a specification but it basically is just a tiny little node stemming from SGML and the like. OnOn GitHub I always usseuse the ` symbol with a closed back tic to indicate code when it's inline with a sentence. ThisThis often happens with bash/shell scripting in this particular scenario.

Example #1 - Block Code

IfExample #1 - Block Code
If you are looking for oracle's creg ini file you would know that on Oracle Cloud you can view it using 'view /var/opt/oracle/creg/ORCL.ini. However, this assumes you used the recommended settings for simple DBaaSview provision/var/opt/oracle/creg/ORCL. If you named your database MFG the command would be 'viewini. However, this assumes you used the recommended settings for simple DBaaS provision. If you named your database MFG the command would be view /var/opt/oracle/creg/MFG.ini. ThankfullyThankfully there is an environment variable that holds the database name. AndAnd if iI were writing a simple bash script it would look like:

#!/bin/bash

cd /var/opt/oracle/creg/`printenv ORACLE_SID`.ini

So that prints fine in a block.

Exampe #2 - Inline

SoExampe #2 - Inline
So if I simply want to tell a user to 'cd /var/opt/oracle/creg/printenv ORACLE_SID.ini' I shouldn't have to make a block.

Question

ISQuestion
IS there an escape character in GitHub's markup implementation? II want the entire thing to show just like a normal line of code. It'sIt's better on StackOverflow on GitHub it basically breaks the page.

Background

I realize that markup is implementation without a specification but it basically is just a tiny little node stemming from SGML and the like. On GitHub I always usse the ` symbol with a closed back tic to indicate code when it's inline with a sentence. This often happens with bash/shell scripting in this particular scenario

Example #1 - Block Code

If you are looking for oracle's creg ini file you would know that on Oracle Cloud you can view it using 'view /var/opt/oracle/creg/ORCL.ini. However, this assumes you used the recommended settings for simple DBaaS provision. If you named your database MFG the command would be 'view /var/opt/oracle/creg/MFG.ini. Thankfully there is an environment variable that holds the database name. And if i were writing a simple bash script it would look like

#!/bin/bash

cd /var/opt/oracle/creg/`printenv ORACLE_SID`.ini

So that prints fine in a block.

Exampe #2 - Inline

So if I simply want to tell a user to 'cd /var/opt/oracle/creg/printenv ORACLE_SID.ini' I shouldn't have to make a block.

Question

IS there an escape character in GitHub's markup implementation? I want the entire thing to show just like a normal line of code. It's better on StackOverflow on GitHub it basically breaks the page

Background
I realize that markup is implementation without a specification but it basically is just a tiny little node stemming from SGML and the like. On GitHub I always use the ` symbol with a closed back tic to indicate code when it's inline with a sentence. This often happens with bash/shell scripting in this particular scenario.

Example #1 - Block Code
If you are looking for oracle's creg ini file you would know that on Oracle Cloud you can view it using view /var/opt/oracle/creg/ORCL.ini. However, this assumes you used the recommended settings for simple DBaaS provision. If you named your database MFG the command would be view /var/opt/oracle/creg/MFG.ini. Thankfully there is an environment variable that holds the database name. And if I were writing a simple bash script it would look like:

#!/bin/bash

cd /var/opt/oracle/creg/`printenv ORACLE_SID`.ini

So that prints fine in a block.

Exampe #2 - Inline
So if I simply want to tell a user to 'cd /var/opt/oracle/creg/printenv ORACLE_SID.ini' I shouldn't have to make a block.

Question
IS there an escape character in GitHub's markup implementation? I want the entire thing to show just like a normal line of code. It's better on StackOverflow on GitHub it basically breaks the page.

Source Link

Does GitHub have an escape character for their markup?

Background

I realize that markup is implementation without a specification but it basically is just a tiny little node stemming from SGML and the like. On GitHub I always usse the ` symbol with a closed back tic to indicate code when it's inline with a sentence. This often happens with bash/shell scripting in this particular scenario

Example #1 - Block Code

If you are looking for oracle's creg ini file you would know that on Oracle Cloud you can view it using 'view /var/opt/oracle/creg/ORCL.ini. However, this assumes you used the recommended settings for simple DBaaS provision. If you named your database MFG the command would be 'view /var/opt/oracle/creg/MFG.ini. Thankfully there is an environment variable that holds the database name. And if i were writing a simple bash script it would look like

#!/bin/bash

cd /var/opt/oracle/creg/`printenv ORACLE_SID`.ini

So that prints fine in a block.

Exampe #2 - Inline

So if I simply want to tell a user to 'cd /var/opt/oracle/creg/printenv ORACLE_SID.ini' I shouldn't have to make a block.

Question

IS there an escape character in GitHub's markup implementation? I want the entire thing to show just like a normal line of code. It's better on StackOverflow on GitHub it basically breaks the page