From e7f86f8469891df40b1f9bc7d9f8c00ada854aea Mon Sep 17 00:00:00 2001
From: harshal-ishere <harshal011kamble@gmail.com>
Date: Wed, 8 Jan 2025 20:03:06 +0530
Subject: [PATCH] converted julia-repl to jldoctest in variables.md

---
 doc/src/manual/variables.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/src/manual/variables.md b/doc/src/manual/variables.md
index ad2c60a029032..1ee135feef432 100644
--- a/doc/src/manual/variables.md
+++ b/doc/src/manual/variables.md
@@ -3,7 +3,7 @@
 A variable, in Julia, is a name associated (or bound) to a value. It's useful when you want to
 store a value (that you obtained after some math, for example) for later use. For example:
 
-```julia-repl
+```jldoctest
 # Assign the value 10 to the variable x
 julia> x = 10
 10
@@ -119,7 +119,7 @@ it from `+ ᵃx` where `ᵃx` is the variable name.
 
 A particular class of variable names is one that contains only underscores. These identifiers are write-only. I.e. they can only be assigned values, which are immediately discarded, and their values cannot be used in any way.
 
-```julia-repl
+```jldoctest
 julia> x, ___ = size([2 2; 1 1])
 (2, 2)
 
@@ -132,7 +132,7 @@ ERROR: syntax: all-underscore identifiers are write-only and their values cannot
 
 The only explicitly disallowed names for variables are the names of the built-in [Keywords](@ref Keywords):
 
-```julia-repl
+```jldoctest
 julia> else = false
 ERROR: syntax: unexpected "else"