PF markup which would be suitable for quoting say a sequence of Maple

  • Context: Maple 
  • Thread starter Thread starter Chris Hillman
  • Start date Start date
Click For Summary
SUMMARY

The forum discussion centers on the use of PF markup for quoting sequences of Maple commands in a readable format. Users suggest utilizing the [ CODE ] [ /CODE ] tags to enhance clarity when presenting Maple code snippets. The example provided demonstrates how to effectively format a simple Maple command, ensuring that the output remains clear and understandable. The conversation highlights the importance of proper markup in programming discussions for improved readability.

PREREQUISITES
  • Familiarity with PF markup syntax
  • Basic understanding of Maple programming language
  • Knowledge of code formatting best practices
  • Experience with online forum discussions
NEXT STEPS
  • Research advanced PF markup techniques for better code presentation
  • Explore Maple's documentation for additional command examples
  • Learn about best practices for quoting code in online forums
  • Investigate other markup languages suitable for programming discussions
USEFUL FOR

This discussion is beneficial for programmers, educators, and forum moderators who need to present Maple code clearly and effectively in online environments.

Chris Hillman
Science Advisor
Messages
2,355
Reaction score
10
Hi all,

Is there any PF markup which would be suitable for quoting say a sequence of Maple commands in a readable fashion?
 
Physics news on Phys.org
Chris Hillman said:
Hi all,

Is there any PF markup which would be suitable for quoting say a sequence of Maple commands in a readable fashion?
use [ CODE ] [ /CODE ]

Code:
do
  print(`Hello, World`)
od:
 
Just what I wanted!

robphy said:
use [ CODE ] [ /CODE ]

Code:
do
  print(`Hello, World`)
od:

Perfect! Thanks, Rob!
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 16 ·
Replies
16
Views
10K