sonic-pi

https://github.com/sonic-pi-net/sonic-pi

C++

Code. Music. Live.

Kramdown::Converter::Latex#latex_link_target

Return a string containing a valid \hypertarget command if the element has an ID defined, or
+nil+ otherwise. If the parameter +add_label+ is +true+, a \label command will also be used
additionally to the \hypertarget command.

Source | Google | Stack overflow

Edit

git clone [email protected]:sonic-pi-net/sonic-pi.git

cd sonic-pi

open app/server/ruby/vendor/kramdown-2.1.0/lib/kramdown/converter/latex.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Kramdown--Converter--Latex-latex_link_target-for-pr


# Commit to git

git add app/server/ruby/vendor/kramdown-2.1.0/lib/kramdown/converter/latex.rbgit commit -m "better docs for Kramdown::Converter::Latex#latex_link_target"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Kramdown--Converter--Latex-latex_link_target-for-pr

hub pull-request


# Celebrate!